You know that horse's and horse riding are highly risky sports and also came with health risk's - the amount of horse poop in London as it grew was a major health issue.
A parked car doesn't suddenly get spooked and lash out with its hooves does it.
While true, cars and horses aren't the only options. Trains, buses, bicycles, scooters, etc. also don't spook, take up less space, can reduce pollution and increase capacity.