FYI you can buy stocks in "tracker funds" for lots and lots of countries in the world, which in return invest in a weighted basket of the largest companies in that country.
Investing in an S&P500 tracking ETF is about as close as you can get to "investing in the USA"...