Mopeds have already been banned from bicycle paths [1]. Reportedly scooter-related accidents went down from 53 in 2018 to 10 in 2019 [2].
Finally, for e-scooters the situation is more complicated/fluid [3]. Only approved models are allowed and you will probably need to have insurance.
E-bicyles are probably the best option if you need to commute medium distances.