I think there's something very insightful in your post though, and that is the observation that programmers will just work one abstraction layer up. In general, it has been demonstrated that a combination of expert + AI is far more effective than either one on their own. I can see AI becoming an indispensable tool in the tool belt of an expert, and since we want the best possible outcomes, we're not going to throw the expert out of that equation any time soon. What we may see is the need for fewer experts to get the job done, as the automation capabilities of AI allow them to become more efficient. Just like the power loom, it certainly reduced the number of humans needed, but even today, you still need some people to service the machines and to program their patterns.