But the legal penalty is nothing to do with what risks you took. You could have the view that the state should punish making mistakes that can kill your (in which case the bike penalty would be higher), but I (and I assume most) people wouldn't say this.
The reason the penalty exists is to disincentivise the action. If people were truly rational with all these risks, the problem wouldn't exist in the first place.
It would be incredibly odd to suggest, say, that burglars should have lower sentences if they risked their lives while doing the burglary.