Just because we have photographs doesn't mean artists stopped painting.
Think about it like this, every problem of "AI can do X, but it can’t do X" is another great enticing challenge for the model creators and the AI Labs to solve in order to democratise coding and other fields.
I think this is a good thing as it removes the barriers to entry, but it also means you should adapt.
This isn't the end and there will always be new jobs.