It’s not
a certain company, it’s a whole class of them (partially defined by POTUS’ whims)
Sure, the government can do that, and when doing so infringes on Americans’ speech or access to information, it introduces First Amendment questions that must be addressed.
“The government says CNN can’t post stories from BBC” isn’t immediately resolved by “it’s a foreign company.”