What about investing it in the planet. Fund lobby groups. Fund companies working on alternative energy tech. There was a (YC funded?) startup on here recently looking to turn air and water into fuel in an efficient enough way. That sort of stuff. Unless the goal is purely to maximise gains of course. Announce "I am investing 10Bn in climate change startups over 50 years", so that people can plan their career around this.