They don't have to have any profit, they can be 100% public infrastructure.
And the excess revenue can be used to subsidize transit.
Tax what you want less of, subsidize what you want more of.