I take it you’ve never experienced mechanical brake failure. It can happen, and is probably more likely to happen than an electrical brake, because of the greater forces applied on the flimsier brake cable.
One of my sisters once was riding her bicycle to school, which had only one operable brake at the time—the other was ineffective for some reason and she hadn’t mentioned this to us, so it didn’t get fixed. Well, going down the final hill, the brake cable snapped; and when she reached the bottom of the hill where you turn onto the campus, she panicked and turned despite her speed, and so tumbled over a low brick wall at the gate and broke an arm, rather than just going up the other side of the hill until she stopped.