It's going to be a while before an AI can take part in a meeting between 2 project managers wrangle out a spec that makes everyone happy and then negotiate with the rest of the team to make the changes necessary.
It's going to be even longer before the AI can figure out why the site is down and bring it back up. And then figure out how to prevent the outage.
Besides that AI isn’t that intelligent yet. Training on all the jQuery code won’t yet give you an AI that can write React.
If AI writes code then now the systems become exponentially more complex exponentially faster . Unless this AI is truly human or super human it won’t keep up. If we have human level AI then coding jobs are the least of our concerns .