If an AI doesnt generate perfect code, if left to its devices it will at some point create a codebase big and nasty enough that it will not be able to deal with it.