you're describing machine learning, that I already spoke to.
AI is still created by humans, the code it runs on is human made. It is still prone to human error. Until code is being written by computers to run other computers, this will be the case. But of course, the code to make computers write code for other computers...would also be written by humans :)