Electric motors and batteries have very flexible envelopes so you can fit a very powerful powertrain in a bike with no problem- the battery just has to be very skinny. The big wheels and responsive handling mean slow speeds are very controllable compared to a moped, and the handling and bike weight is much lighter.
What I think is really needed is an e-bike that is meant to be an actual road vehicle, IMO specifically that has a lot in common with a motorycle. Something with a much larger battery, streamlined wheels, a headlight and turn signals, and a comfortable seat. That would be just lovely. I still strongly feel that having a scooter form factor is not necessary to have those things, though. For instance the Haibike Xduro Trekking Pro[1] managed 32 mph and claims 30 miles range, but that's with pedaling (the bike provides 275% boost power). It also has front and rear lights, but no turn signals. Pretty good 51 lbs,and the frame looks like it's extra low to facilitate picking it up. Still, I wasn't able to find anything that provides the weight/power/range of an e-bike with the features of a motorcycle.
[1]: Warning, spammy subscribe popups: http://electricbikeblog.com/haibike-xduro-trekking-pro-2015-...
Edit: I probably should have mentioned cost as the e-dirt bikes are not really in the same range as any scooter or e-bike I've come across.
Surely you meant the other way around?
[1]: https://en.wikipedia.org/wiki/File:ZweiRadMuseumNSU_Hildebra...
With motorcycles, and many mopeds for that matter, they seem to be able to put the engine between the legs.
Walking - E-Skateboard - E-Scooter - E-Bike - E-Moped/Gas Scooter - E-Car
Let's ignore skateboards for a minute, which are significantly more difficult to learn than any of the others. With this you have scooter vs. bike vs. car. A moped's main advantage is speed. A bike has exercise and familiarity. A car has cargo capability and can take more than one passenger.
In general, the main tradeoff is weight and size. Anyway, I digress. I think the main reason to prefer a moped to an electric bike is because of turn signals and proper front and back lights. Once that's resolved I'd agree, there's less of a point of a moped/scooter. Unfortunately adding good lights and turn signals is nontrivial while preserving the lightness of a traditional bike. Safety is the most important thing and turn signals are key.
There's a company called Jetson that has an interesting take on it, though.