In any case, cities can engage in value capture for public transportation. Just direct some of the property taxes collected directed to public transit. Even better would be some sort of LVT, ideally but not necessary 100% of the economic rent from land.
In any case, public transit should also engage in value capture on their own property. If they own a train station, they should consider building on top or adjacent to it spaces that they can then rent out to tenants. It's not only efficient but also serve the public and the local economy and making public transit more economical to run due to higher ridership.