Young women are not attracted to 'idiots' that crash and burn, they are attracted to 'heros' who's skills and strength keep them alive and healthy despite the odds. It's not a conscious thing in either sex, "cheating death" is an integral part of the human ritual of finding a suitable mate, it's so deeply ingrained in humans that a males brain chemistry will reward "cheating death" with feelings of elation, pride, and self-satisfaction.
Looking back as an old man who had the luck to survive the motorbike ritual (among others), young men really do behave like peacocks, the things they unconsciously do to attract a mate are even more dangerous to the individual than that ridiculous tail is to the peacock. At the end of the day it does make our societies (if not our species) better suited to the civilizations we invented. We are continually evolving and are in a feedback loop with the environment we have created for ourselves, not unlike the termite and it's air-conditioned fungus farm.