AI is exactly the same as previous capitalist endeavours - it raids the commons, sells it off to the highest bidder, then falls apart once there's no more commons to feed off of.
Right now, there are experienced coders who can review code. Right now, there is plenty of hand-written code by experienced people to train models on. Once you've consumed all that and the experienced coders all retire / burn out / die, what then? You didn't train anyone else to do this.