Diversification is key if you’ve benefited from the US tech boom