Governments need to invest more heavily in public transport if they want fewer people to drive private cars.