They're protected by the laws of their country. Foreigners aren't. That's the point.
Americans corporations have shown they'll just pull out of countries if the law comes down on them too hard.