I mean for all the inefficiencies of the cloud, it solved a lot of problems. It also created a new category of problems but rarely does any particular technology arrive as a pure boon without it's own compromises. Despite it's issues and despite how hot ASS some implementations are (looking at you Azure) I think cloud infrastructure you can at least say does solve a lot of problems for a lot of firms. I can't remotely say the same for AI.
It has a lot of uses don't get me wrong, but not nearly the number being pitched currently, and I don't know that I've seen any that I truly can't live without. And at the prices that are going to need to be charged when we turn the proverbial profit lever... I mean I'm sure tons of huge software houses where shipping is all that matters, behind things like quality, maintainability, the sanity of the development team, what have you, AI code assistants will have a lot of uses and the company will (probably) pay for it. But I think it's a stretch to say it's even remotely as good a trade as Cloud infra was.
In the handful of years since we've gotten all these supposedly revolutionary tools, software quality has already taken a gut-punch, will no sign of that slowing down, quite the opposite. And that's not even going into all the AI features being crammed into everything that few, if any users want or use. In fact the obsession with shoving AI shit into Photoshop instead of fixing any of the issues that've been present in that software since ~2009 was the straw that broke the camel's back for me and I've left Adobe behind entirely, and I know for certain based on communities I'm in, I'm far from alone in that.