"pulls out only enough in salary to meet their expenses, makes an equivalent donation to charity to offset all their "income", and then pays zero in taxes."
and that's confusing, 'cause say I can live off $100K/yr. So I pay myself $140K (or whatever) and pay the taxes on that and I have $100K left to pay for groceries and rent or whatever.
Sure, my company maybe donated a bunch of money to some nonprofit I liked, and that decreased the company's tax liability. Maybe my company even lost money after the donations, and maybe I get to carry those losses forward... but that's not going to impact the personal income taxes on those wages I pay myself, or personal capital gains tax on the dividends I pay myself.
But that's a different thing from the tax liability on that $140K I took out to buy my groceries, and pay my rent.
I'm not a tax person, though I have been in the situation of paying both corporate and personal taxes- all I can say is that you need a properly licensed tax person in that situation, even if your business makes less than a google engineer.