Those electric bikes are a nightmare. They are so quiet you can't hear them coming. Coupled with how recklessly the delivery guys ride them it's a recipe for disaster. These guys plow through red lights and gun it in the opposite direction on one way streets. Maybe it wouldn't be a problem if these guys didn't ride like assholes.
Many drivers are reckless and break laws consistently. They also often don't share the road with bikes very well. We don't ban them.
And I say this having grown up my entire life without a car, biking everywhere. I'd take tickets for riding on the sidewalk, and I'll do it every single day I ride. Sharing a road with 2500lb vehicles that go 2-5x my speed is unsafe and all the talking and lane marking in the world will never undo that fact. Nevermind how utterly anti-social and rude you must be to bike in a lane 20mph under the speed limit.
I spend as much time as possible in the Netherlands since they seem to be about the only sane country when it comes to mixed-mode transportation and not trying to murder people while doing so.