That being said, ebikes are partially banned here. Pedal assist is fine but full ebikes count as motor vehicles. I think it's a decent compromise.
If you dismount and push a bike, people get struck by pedals and handlebars. The rider has to allow much more space to prevent people walking right into them.
Riding at walking speed, some pedestrians may give a bit of space, but most of them don't alter their movement in any appreciable way. A capable rider has better control of a bicycle when they are actually riding it, and can keep pedals away from shins even in close proximity.
It's not deadly for the cyclist.
https://www.itv.com/news/wales/2022-07-14/cyclist-who-rode-o...
Hey, driving a car into cyclists isn't deadly for the driver, so, under your logic that's not "actually dangerous" either? Right?
I'd even say it's probably more dangerous for the human on the bike if they get thrown off the bike in a weird way.
https://www.yorkshirepost.co.uk/news/people/cyclist-riding-e...
To me it is quite obvious that pedestrian crashing with a bicycle is much less dangerous than pedestrian hit by a car.