As a developer, if you let AI take over your job, IMO, that's your fault. Don't blame AI. The thing is, some tasks AI cannot efficiently perform. For example, say I have an amazing AI and I want it to design a house for me. I click (or say) "AI, design me a house." The AI creates me a house... But I don't like how it laid out the bathroom on the first story and the bedrooms upstairs. I tell the AI, "Hey AI, can you fix the bathroom and bedrooms please." Ok, now I don't like what it did to the garage... Etc... etc. etc... Next thing I know, I'm essentially designing the house myself and/or verbally "programming" my AI. So this notion that AI will remove programming is false because programming is simply instructions to begin with. That was an extreme simplification and of course AI could AID in the designing of a house, but I hope you get my drift.
Fantastic read by the creator of the Leaf programming language: