That's one thing that bothers me too. If they provide something for free it's almost always junk food, candy or soda. I prefer not to have this in my face all the time while I am at work.
Almost definitely not the case at Google presently. 80-90% of the fridge space is dedicated to non-soda beverages (flavored seltzers, cold brew coffee, iced teas), and the chips + candy are hidden out of sight in the snack areas.
I think my workplace has set an effective deterrent by making all these ridiculously cheap, but still like $0.10. Hungry people eat, but not so much impulse eating.