The foundation is its own 501c non profit, they donate to it, put their money into the trust fund.
The trust fund then turns and invests all that cash thst they donated and make bank while paying back “costs” for whatever. The only tax that gets paid is personal income taxes on the salaries paid out.
Which are much reduced because the fund also pays for things like hotels and rentals and travel
What the foundation then gives out, they were going to give out anyhow so as to whitewash their reputation and make themselves feel good