To what extent can social media companies censor their platforms?

Then there’s this: