It’s more the power that can be applied. Most people capable of getting a pedal bike up to those speeds also know how to read the road for safety. Even then, bikes can basically disintegrate in a (initially) minor accident.
A powered bike is capable of destroying itself if misused.