Artificial intelligence can make medical practice more efficient and accessible, but there must be safeguards