Call me cynical, but I think those "perks" exist purely for marketing purposes. The greatest expense of a ping-pong table is almost certainly the space it takes up in the office, and overall I'd say it's a relatively inexpensive marketing tactic, and it's definitely a cheap line item when it comes to employee perks as well.
The biggest issue with ping pong, and similar games (bubble hockey, foosball, bags), is that if you need a break, you will need to find someone else to take it with you. Furthermore, you are basically broadcasting to the entire workplace that you aren't working at the moment, which is disruptive even if they break is well-deserved.
I worked at a place that had something like that, and I literally never saw anyone playing it.
That's one of the biggest red flags for me, both for work-life balance and what the company is spending money on. If they have all sorts of fancy toys around the office I'm not sure I can trust that they are spending their money wisely.