Good for them. As long as it’s VOLUNTARY, they can do what they want with their billions. What is evil is when the state comes in and COMPELS you to give the money to someone else.
Very often “charitable” foundations can get federal funding as long as matching private funding is provided.