You don't seem self consistent in your beliefs. Not even an hour ago you commented on a thread that self-driving vehicles will not exist any time in the near future, and yet here you're proposing that "ai" is going to replace developers soon?
You believe that "ai" will be capable of the logical gymnastics that development requires, to replace developers, but that the same level of "ai" isn't anywhere near capable of taking in camera/sensor input and outputting proper accelerate/turn outputs in order to drive a vehicle?
In my mind the self-driving case is an easier, special case, subset of the task of general programming.