Same problem here in the UK. There are some legal rental options in city centres (lime etc) but its illegal to use your own on any public land. Ebikes took a long time to legalize. Tbe framework is there but there is no interest to apply it to others.
Naturally, people still ride them but generally don't behave well, you know, because only those willing to break the law are driving them.
I have an ebike and a cheap escooter. I always rode it safely and legally (if it was an ebike), i.e. dont go on pavements, wear a helmet and its limited to 15mph. A few weeks ago a motorbike cop pulled me over and as I was being safe he didnt fine but but told me i had to just push it home like a scooter. Now I cant ride it again. He mentioned I could, get done for lots of different things if he wanted to.
I love my ebike but sometimes i want to use an escooter, like if its late or I know theres no decent cycle parking near there so don't want to risk my much more expensive ebike. So that means I take the car instead...
I used to take it on the train to work as bikes arent allowed but the escooter folds down and fits under the seats. They are now banned on buses and trains as some of the batteries exploded. I think that's because they are illegal so we can only get cheap Chinese ones with no safety regulations.
Anything that reduces traffic, polution and increases mobility should be embraced fully and we can figure out ways around these issues but the government doesnt really care.