The AI is programmed by humans.. The thing is, the program doesn't "forget" to check everything like a human doctor would...
IA is programmed by humans to learn . . . . humans do not program in the learning part of it . . . what it learns is difficult for humans to interpret, usually what it learns is stored in multiple layers of matricies.