You talk of Musk but he is a drop in the ocean of foreigners influencing the domestic information sphere. Let's ban Instagram, Youtube and all other foreign platforms, let's ban the Internet and have a country-wide intranet, let's ban all foreign NGOs and think tanks, let's ban Soros (talking about politically active billionaires), let's ban foreign news agencies and journalists, bye bye CNN, DW, BBC, etc. I suspect the only reason you're isolating Musk is because of the ongoing US cultural war and you being team blue.
Of course we should have laws for all of them to follow.
Isn’t that obvious? No-one gives CNN a free pass to broadcast whatever they want on the sovereign territory of any state.
The same applies to other entities from your list: there should be no difference between Soros, Musk, Zuckerberg or some NGO in terms of following state rules.