It’s not “still less money” compared with the situation where the employee gets the money AND donates the money. Of course if the employee was not going to keep the money not getting it is a net loss.
I doubt anyone was thinking about donation related tax breaks or anything like that. It was simply "sure I will have Google give $500 to this food bank, but why don't I get a new phone or cash bonus?"