If the funds went back to all employees equally then it’s a market-based solution.
This example is conflating the market for charity donations with parking. If I was going to donate $10k/month to charity anyway, I’d bid $5k a month on the parking (not sure how tax would work).