An ebike weighs less than a motorcycle by at least half (for super lightweight motorcycles) or less than 1/6th the weight. So a fast ebike is about as dangerous as merely the human person +100lbs traveling at speed.
100 pounds of bike plus 150 pounds of person hitting a pedestrian at 30+ mph is still going to do cause serious injuries to both of them.
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.
Thus, less energy to transmit to a pedestrian