As others mentioned, I believe that as long as there is a prompt to be written, there will be a need for domain experts to write them.
I think our jobs will switch to verifying what GPT-4 and co. are spewing. And yeah, that might get rid of those jobs that are just about mindlessly spewing out HTML. But there are already tools that do that like Wordpress :) Imho this is actually great, we will be able to focus on better, more interesting things, rather than on low level repetitive tasks. So, I think that developers' jobs won't go anywhere, unless you count a developer as a boilerplate factory.