How artificial intelligence is poised to reshape medicine