Why bad? Seems more like some kind of Robin Hood...
Well, sort of. The thing is that Robin Hood 'stole' (more like lead insurrection) against lords who were abusing their power and extorting impractical taxes out of people.
And the cookie company has far enough capacities to follow his request.
I'm not so certain. Most companies run rather lean - about a 3-5% profit margin. That means for every dollar someone spends on their product, no more than a nickel ends up being left in the bank account (after product costs, wages, etc come out of it).
The "criminal extortionist health insurance companies" run about a 10% average profit margin along with pharmaceutical companies.
Beverages, especially alcohol manufacturers, enjoy a 30% profit margin and are cultural icons (go figure).
So... this company may or may not have much in the way of capacity to donate. In the U.S. - the company could write such donations off on their taxes and, effectively, have it not cost them money. But I'm not sure how Germany operates.