I am not convinced that it will automate away all developer jobs. I think that at some level humans will be involved. Even if we are not doing the code monkey grunt work, we will still be guiding the process.
If you think about it, from the perspectives of the users and product owners, there isnâ(TM)t much practical difference between AI and developers. They in theory define their requirements, some work happens somewhere, and then a deliverable is produced that may or may not meet your requirements. The product owners in my experience are incredibly bad at defining or even actually understanding their own requirements, and half the job of the development team is just in figuring out how to translate poor and vague requirements to what the owners really need.