The red flag act of 1865 (UK), limited the new steam cars to 4-MPH, and a man had to be employed to walk ahead of the vehicle a certain distance waving a red flag.
Ostensibly it was about safety, but the truth is....it was pushed through the legislature to slow the adoption of cars.
Only wealthy individuals could afford a car (which was purchased with a lump sum, rather than payments), but steam trains were booming and public transportation between cities was very profitable. Also, horse-drawn cargo and passenger commerce was profitable everywhere. Many of these entities immediately saw the competition as a threat to their livelihoods.
Who is behind limiting the use of electric bikes in New York City? The cab businesses and the subways (run by the city). Follow the money...