It’s more complicated than you think. Much of social media was originally funded with government-supplied taxpayer funds. Now, not only does government do nothing to curtail their censorship, but continues to give it a strong tailwind. Indeed, Big Tech is a stealth takeover the propaganda machine that government lusts after.
Source: Oligarchs Or Government: Who Really Directs Big Tech Censorship?