I am not sure about that. Twitter has open sourced a lot of stuff in the past. There were certainly people there who would run the site as a nonprofit public service if they had the choice.
Sadly, I think their best open-source contribution days are behind them with all the hardcore engineering they now have to do with fewer engineers.
Edit: I forgot about Bootstrap! That projects saved the world from millions of ugly web apps and dashboards built by clueless backend engineers.
Another trend Twitter popularized that I can't wait to die: absurdly large border-radiuses
But yeah, while I would never work for Elon I’m glad he did this.