Yes, but who will write the code that trains the AI on future stuff? Someone somewhere will have to write original code, and without writing a lot of code that new original code will be of lesser quality than what went before. Once that cycle starts there will be less money to be made in programming, so fewer high grade programmers (and we already have too little of those as it is).