A billion dollars today ain't worth that far into the future. But spread out over decades or even gasp, centuries, it could do far more good in the long run.
One really interesting example is the Battelle Memorial Institute. A charitable trust that also happens to be one of the largest R&D organizations on the planet and does over $6 billion/year in revenue. But has strict governance principles over working on weapons, or things that might harm people.
1 - https://en.wikipedia.org/wiki/Battelle_Memorial_Institute