The distinctions drawn here are particularly interesting in China.
Somewhere like Shanghai, you'll see ~70% of traffic in "bike" lanes are what appear to be electric mopeds.
But if you look closer, all of these mopeds technically have tiny attachment points for pedals. Government regulations allowed e-bikes to be driven unlicensed (but with a special green license plate, unlike the US!) and wherever bicycles are allowed. At the same time, the delivery industry and commuters wanted something stable, capable of carrying cargo/passengers. So the form factor adopted was that of mopeds, while vestigial pedal attachments were provided in order to pass as "e-bikes" under the regulatory criteria. Example. [0]
In practice, using pedals on these made for a clunky experience so they were not usually attached at all. The other main regulatory criterion was that these have to be limited to <= 25 km/h, unlike true mopeds/motorcycles. In practice, these speed limiters were also removed, setting up a cat-and-mouse game between police and riders.
The rule requiring the vestigial pedals was finally removed a few months ago, meaning that the ontology of "e-bikes" is pretty different in China now. [1] (Pedal-assist traditional bike frames also exist, but they share space with the larger mopeds in bike lanes and bike parking. True electric mopeds and motorcycles also exist, but they are effectively regulated out of existence in big cities.)
At the end of the day, top speeds are more determinant of whether different modes of transportation can coexist than pedals or form factor.
[0] https://www.youtube.com/shorts/r4HAUJDQT1w [1] https://chinamotorworld.com/chinese-e-bike-new-standard/