I read that if we didn't have public libraries and someone suggested the concept these days, it would never be built because it sounds like a socialist scheme. "Free access to books and self-education! Who does that profit?" Everyone, of course, society benefits.
But there are good examples of technology for public benefit, and the more I pay attention, I see people are making efforts in various corners, not just in technology but a variety of social activism on collective and personal level.
The Internet, the web, and personal computers were miraculous for that historical period, it liberated the creative energy of following generations. The accelerating enshittification of our present time has managed to capture a lot of that value and cultural relevance, but the cutting edge has moved on elsewhere to find fresh expression.
That is to say, I believe there is hope as long as people continue to engage with meaningful projects creating value for the commons, and even the toxic atmosphere of global exploitation may turn out to be the wake-up call and challenge to humanity to manifest social changes, including socially beneficial technological innovations, for a better future.