Amazon is listed on Nasdaq. So just invest in Nasdaq index funds.
If Berkshire is listed in the US, it will invest in the S&P 500 index fund.