Regarding the law - it's illegal in Redwood City to ride on the sidewalk, but almost 100% of "Utility" cyclists (that is, people taking short trips who aren't decked out in "cyclist" gear) almost always ride on the sidewalk; and the police certainly did not make it a priority to ticket them - and given the density of police cars in Redwood City, any given cyclist traveling a few kilometers was likely to be seen by one, if not more police officers.
No, bicycling is fairly high-risk in general, like skiing, or any other sport that involves a human body travelling faster than the average set of legs can walk it around. Even just going around the block a few times there's always the chance of some random events leading to an unfortunate encounter with a tree.
Of course, it's not skydiving either. And life is a series of risks, I'm not saying don't do it.
And, pretty much 100% of the time I go snowboarding, I wear a helmet.
What I'm trying to surface (apparently poorly) is that life, to some degree, is about managing risks. And we often respond carte blanche scenarios with exactly the same response, regardless of whether it's proportionally required.
Cycling - on road, moving fast, around anything else moving fast, at all treacherous conditions - sure, yes wear a helmet. But, casual cycling on a nice day, protected path - probably not required.
Another area of proportional risk response - portable devices on planes. At one time, end of the world if you had one on during takeout (seriously, other passengers would freak out if they thought yours was on) - and then, all of a sudden - every airport/airline in the United States lets you read your kindle, play games on your phone. People realized their responses were not proportionate to the risk.