But it's really a moot point because there are essentially zero motorocycles travelling on sidewalks, bikepaths, and trails where pedestrians are going to be concentrated, while it's a free for all for e-bikes.
In general, motorcycle/pedestrian accidents are pretty rare. Statistically, motorcyclists are most likely to injure or kill themselves rather than bystanders.