Even in your scenario LLMs could write super optimized libraries (not intended by for humans) to do common tasks and share the code between them.
I’m not saying the future can’t get to an ai just producing everything. I’m saying it’s just plain inefficient to keep solving the same problem over and over.