Tech companies are swapping on-campus gourmet chefs for free snack deliveries, but they’re also stepping up childcare support and mental health services.