Cars took over because the legal system helped squeezed out alternatives
I was in Switzerland recently and was very impressed with how good the public transportation system was - trains, trams and buses. To top it, the water in the lakes and tap were all 100% drinkable.