@mhjohnson bans on foreign ownership of things that don't involve speech are completely different because they don't intrude into First Amendment issues.
The government can regulate the provision of electricity. It is barred from regulating who can speak, though.
The law does not apply to social media in general. That is exactly the kind of factual issue that screwed up this case.
And the people's data? Number one there's no such thing. Number two, that's not relevant to the government deciding who can and cannot speak, what perspectives can and cannot be presented to the public.
But these are exactly the sorts of topics that the Supreme Court got factually wrong.