IANAL, but my lay opinion is that thanks to the foreign commerce clause this would be a matter of rational basis.
So quite likely Congress could craft such a law and have it hold up, if it could show that foreign control of the NYT (which is incidentally the case) posed a national security concern.
So quite likely Congress could craft such a law and have it hold up, if it could show that foreign control of the NYT (which is incidentally the case) posed a national security concern.