They can take the tax from other fields like industry, business... to pay for public transports. Certainly, there should have a balance among all industries. Rich countries and good Governments can do this.
It's impossible. This is all I can tell you. What you said is a communist idea, and communist ideas never work.