The point is not that investing in foreign companies is necessarily a mistake.
It is possible to put money into foreign companies.