In practice I doubt this is much of a barrier. Shareholders don't inspect every line item of a company's budget. For a decent-sized company, a few hundred thousand or even a million or so $$ per year would probably go more or less unnoticed by shareholders.
Remember that it's a common -- incorrect -- trope that public companies are legally required to seek maximum profit, etc. It's a lot more complicated and nuanced than that.