>it doesn't waste all that extra benefit by being that much harder to maintain in the long term.
If AI just generates piles of unmaintainable code, this isn't going to be any worse than most of the professionally-written (by humans) code I've had to work with over my career. In my experience, readable and maintainable code is unfortunately rather uncommon.