My take is that AI may replace mediocre task taking developers who just write code. It won't replace problem solvers who use code as a means to solve actual problems.
Is there such a job? Even the tinniest bit of code I had to write involved learning about the problem and the platform to come up with the solution. There was some I could hand over to ChatGPT, but it always felt like when somebody gives you their vim or zsh config. You always wonder what's going on here, and you might just as well read the documentation.
I'm sure it's not the only way, not in the long run anyway.