if apple were to be a nation state, it will be one of the top 20 trillion dollar economy... insane and amazing... https://en.wikipedia.org/wiki/Trillion_dollar_club
The US GDP is ~$21 trillion, but that's not its market cap, it's just one year's worth of production. You can't buy the USA for $21 trillion.