Uh, some people know how to brake in emergencies in or on all kinds of vehicles, and some don't. That's issue 1.
E-bikes can go faster, but even if we're talking about the same speed they are harder to stop because they are heavier, and many (like most of the rideshare bikes) don't have great brakes. Some people know that and some don't. That's issue 2.
Unfortunately, there are a lot of people out there on e-bikes with both issues. They don't know what they're doing on any bike AND they don't understand how to safely ride the bike they're actually riding.
The difference between a 20-pound ordinary bike and a 50-pound electric bike is not relevant to the kinetic energy of the bike-rider system which is dominated by the rider, not the bike. You're talking about a difference of maybe 20%.
In any case, think about the poor, neglected topic. Are electric bicycles more dangerous than motorcycles? Clearly they are not on the basis of either mass or speed.