A lot of the so-called "charity" by wealthy individuals is anything but. It's placing assets in a tax-advantaged positions where some of the proceeds gets used for "charity" (whatever that means) but they still maintain control.
For example, the typical tax structure is to put assets into a foundation. That allows the assets to grow and earn income without being taxed. The only requirement is that 5% of the asset pool has to be used on the stated goal of the foundation. That might sound good but it also includes costs like "administration" so, say, having your family as employees. There are limits to this but it's still somewhat of a slush fund.
That charity can be used for political influence. A foundation can't donate to candidates or PACs but can instead, for example, fund a think tank from which policy is created or influenced. That think tank will employ people while their party is out of the White House and otherwise nurture people who will go into the administration when their party returns to power.
Also, a large foundation such as this wields influence just by its size, by choosing what to fund and where. It can exact generous conditions from governments. Those conditions can extend to companies the foundation's benefactors have an interest in.
All of this is about influence. Governments are accountable to their people. Outsized private foundations are accountable to no one.
Naive me was pretty shocked when, after my financial advisor suggested I start a donor advised fund for the tax advantages, my lawyer then explained the loopholes to use to cheat and have the tax free money come back to me instead of actually to charities.
I guess I'm not cut out to be a "big shot". I opened the DAF, but use the money for actually donating to charitable organizations to which I have no other connection.
Also, don't forget, that the work itself can be about 'preparing the ground' for your non-charitable interests (which are probably held in trust, ie not held personally). Eg if you involve yourself in child education (perhaps making it worse) this is not an issue if it makes it more like that your classroom software is adopted. Or, if you are heavily invested in pharmaceuticals, singing the praises of vaccines, is just a tax savvy way of increasing the market that you will benefit from.