They are a bit different.
An electric bike won't get you over 15 mph. You still have to pedal and anything over that is your effort. The motor just makes it easier to get there.
E scooter. Just a flick of a button and you can get a very decent speed up with no effort needed from the rider...