Imagine that in society we pooled our resources to make the best video/online courses for a variety of subjects. The best CS courses. The best history courses. The best biology courses. We could focus on making the courses accessible and translated. We could make the best assignments and projects, iterated and experimented on with a population of millions. Heck, we could even hire professional actors that would both help with engagement and with representation problems in various fields.
Then in addition to being places of research, universities become the places we go to facilitate taking those courses and applying the knowledge. Watch the interactive videos, and expert tutors help you understand challenging topics, guide you where to look next, and facilitate labs. At least for undergraduate, this seems much better than what we have now.
And then, why not open it up to everyone? We could all take various courses throughout our lives. I'd love to be continuously taking classes in new fields, but the world isn't set up that way.