I would strongly recommend that you not ride an electric scooter. Consider the diameter of the wheels. If you hit any pothole or rail or anything which has a lip higher than HALF the diameter of that little wheel, you're going to go flying over the handlebars. If you ride it every day for months or years, you're going to crash, no matter how careful you are, at least on SF streets.
Also, separate question, my understanding is that potholes are mainly formed by freeze/thaw cycles -- weather not typically found in SF. Have you lived in Chicago or NYC? Can you contrast the pothole density between those three cities?
Potholes in asphalt can be caused by pressure from tires too. I've never tried biking or scootering in a different city so I can't compare the quantity of potholes.
Or, there's no hills, and you go your own pace, and it's fine.
Having tried both I do feel bicycles are safer - those tiny scooter wheels shake me to pieces.
One point important mentioning though is that once you put a motor on the bike you kind of have to use it all the time, because 1/ you lose the front derailleur, 2/ motor + battery weight around 6-8 kg, and 3/ the engine is always engaged.
It's possible to use the bike with zero assistance, on flat ground, if you need it (for example if the battery dies), but it's not something you want to do all the time.
So, it's not really a sport anymore. Yet it's extremely pleasant.
Also: you can buy Bafang motors on Aliexpress or Alibaba; I find sellers on Alibaba much more professional, and most will agree to sell just one item.
This isn't true, I misspoke. The engine isn't always engaged, it has a freewheel mechanism, but it's not as smooth and friction free than if there was no motor.
The usability of the bike with the motor off rests on the size of the plate you choose; if you want to be able to ride the bike easily without the motor you should select a small plate (<=42T probably).