Of course if AI continues to proceed forward and we get to the point where the AIs can do that then they really will be able to craft vast code bases at speeds we could never keep up with on our own. However, I'm not particularly convinced LLMs are going to advance past this particular point, to a large degree because their training data contains so much of this slop approach to coding. Someone's going to have to come up with the next iteration of AI tech, I think.
I'm grateful we had Java when this stuff was taking off; if any enterprise applications were written in anything else available at the time (like C/C++) we'd all suffer even more memory leaks, security vulnerabilities, and data breaches than we do now.