Artificial intelligence is playing a growing role in medical care, and it could soon be coming to your doctor's office.