a) most cities have few, if any protected bike lanes (or equivalent)
b) scooter riders experience more danger from cars in the road than pedestrians do from scooters on the sidewalk (just think if you'd rather be hit by a scooter while walking or by a car while scooter-ing)
Thus, forcing scooters off the sidewalk is a net negative for safety, is it not?