A full ebike will be much more versatile, especially nice if it's going to be a car replacement. I wouldn't even consider the little circus scooters unless you're only going a couple flat miles and can do it all on sidewalks. An ebike with 20" or bigger wheels will allow you to ride without fear of gutters and cracks.
Do you have any idea how far your commute will be or the route? Storage options at home and work? That'll play a big role in figuring out what ebike will work for you. If you have some big/steep hills you'll have to conquer, a mid-drive or geared hub motor would probably be best, while a direct-drive hub motor will be fine for more level riding. Minimum battery size will be decided by the distance, hills, and whether or not you can charge at work. An easily removable battery would be good for security and to keep it from baking in the heat.
A lot of the prebuilt ebikes, especially cheap ones on Amazon, are made of pretty poor components. This site has a good selection of prebuilts using good bikes and ebike parts.
https://lunacycle.com/e-bikes/