We should disincentivize antisocial behavior rather than ban specific technologies. If rental e-scooters left in the middle of the sidewalk are a problem, require rental companies to provide parking where the e-scooter must be docked at the end of the journey, for example.
As long as e-scooters are primarily replacing car trips, they are a net benefit to society. Let's iron out the wrinkles instead of an outright ban.