AI-generated code still requires software engineers to build, test, debug, deploy, secure, monitor, be on-call, support, handle incidents, and so on. That's very expensive. It is much cheaper to pay a small monthly fee to a SaaS company.
AI "generated" code requires a large base of training data to draw from. If we all stop writing code then there will no new code written. Just rehashes of stolen ideas. There is no long tail to this industry or ideal.
> That's very expensive.
As long as you convince someone else to pay the bill who cares? The real problem is are you losing your competitive edge? If everyone else can crank out the same stolen crap you can then there is no reason for you to even exist.