Have you seen the GPT-3 programming demos? It is super futuristic. We programmers are still going to be needed, but what we do will evolve. Just look at how much Github Copilot gets right. It's still early days so there's still a lot it gets wrong, but there are a lot of improvements yet to be made.
It’s still a tool though. If these AI tools simplified the work of sw engineers there would indeed be fewer of our ilk wielding these tools but a larger chunk of engineering would move towards maintaining and co-evolving these tools. I don’t really see an end to it while I do see an end to my own willingness to keep up with it.
Whether or not Copilot makes it, that's just how tech industry is. First there were mainframes, then there were desktop computers, then there was the Internet, then there was the smartphone. Tech evolves and if you want to stay relevant, you've got to keep learning along with it. Or not. There's still a market for COBOL programmers.
Eg https://machinelearningtokyo.com/2020/07/26/10-cool-gpt-3-de...