Like i think the intended path here is that taxes pay for a library, a park, or a community center. Having random businesses create hang out spots out of the goodness of their heart is not the intended path. They can if it makes sense for their business, but community needs should be primarily funded through taxes not business charity.
Would make sense, your reasoning, if they actually paid taxes. Unfortunately everything is very broken on that front, labor pays much higher taxes than corporations, the richest don't pay taxes at all, and the shortfall is plugged by cutting public services and issuing debt on what remains.
The comment thread is about a McDonalds franchise owner. They are not going to be committing Apple-level tax evasion. They will be paying taxes like everyone else.