It's not unmaintainable if you have 1000 agents maintain it.
The marketing ploys of OpenAI/Anthropic where agents build something that nobody uses might be hard to track given that there are zero users. But what about everyone using agents for real software? It's trivial to prove that agents make progress.
Lines of code is completely irrelevant as a metric.