Depending on the quarter only 10% to 25% of my time is writing code. The other is dealing with: finding high level reliability concerns, figuring out what solutions to implement, diving into complex acute production issues, evaluating trade-offs for fixes, finding ways to make things more efficient, negotiating what to prioritize with other teams/orgs/leadership, etc.
Could an AI do some of these things? Sure. Are they going to be able to figure out the right stakeholder to talk to, negotiate with them, get buy-in and decide on overall designs/solutions? No.
I'd be a bit concerned if I was a frontend developer (though any decent one could pivot to something else.) however.