When you give money to help a pet shelter, or to feed kids in some far-away location, this is a donation. You give something, and you don't get anything back in return. Even a tax benefit, it doesn't change anything (as at the end you have to pay the same amount of money).
But now, what if you "donate" to a public park across the street from your house: Is it charity? Yes, you are giving money to the city/trust that you don't have to give. Do you benefit? Yes directly, your property value goes up and you have a nice place to walk. Does that make it "not a donation"? No. It just makes it a smart donation or even sponsoring a project.
In all cases he is securing his own supply chain, and for a very cheap price. It is a very rational business expense.
I really hate that vision of the world with a passion. For people with such opinion nothing is ever enough or pure enough, but if you ask directly such people donate almost nothing themselves.
The fact people with this opinion exist also discourages donations from others because "nothing is ever enough" for you.
Also pro-tip, if you do more than a handful donations you'll realize that you as the giver is always the one that most benefits from being charitable. The feeling you get is why you do it.