One of these things is not like the other...
I can tolerate the occasional "mandatory fun" corporate event, but only within reason (e.g. I have kids, so don't give me grief for leaving early).
And I think the entire "work hard play hard" office culture, where you're expected to do happy hour everyday and build your social life around co-workers in order to prove you're a teammate, is ageist and absolutely toxic.
To be blunt, if you have to FORCE people to socialize with you, then maybe you need some self-reflection on why that's necessary.
I met a few people during such events, which is more or less what you say: you are with people from the company (not necessarily teammates, we did it as a team only once) and you might be helping public parks clean, or take trash from canal on a canoe, or sort food in a food shelter. It's a nice way to take a break, meet people from other areas, feel good about something you do, and managers have been very supportive of that, and they do it too.
I think that is a good balance of what you are talking about
But if I can find a job with full health benefits that lets me work three days a week, I'm going for it. Heck, that is the best argument in favor of universal healthcare. It would help unemployment, because way more people would be working part time.