There's an awful lot of stupid behavior death in cave diving as well.
A lot of the risks are mitigated by proper gear and training, just like driving.
Don't dive too deep on air to avoid nitrogen narcosis (similar to don't drink and drive).
Dive with a buddy.
Dive with team and individual redundancy.
Do not silt out the cave (the way you kick and your proficiency in the water has a lot to do with this).
Always have a continuous guideline to the surface.
Reserve at least 1/3 of your gas for emergencies.
And in practice there's other rules -- like you should always sight-see or use cameras/videos on the way into the cave. On the exit you should be more efficient (effectively this usually means you use 1/3rd of your gas to enter, and only 1/4 of your gas to exit, which means you have a higher buffer should anything go wrong).
The redundancy figures quoted are also low. I've done around 200 cave dives. I've had one hose blow on me in a cave and therefore lost a regulator. I can't think of any other local divers who have had a similar situation where they've actually needed to exit a cave with a failed regulator. I would say the failure rate is most likely closer to 1 in 1000. But even taking 1 in 200 as the failure rate, the chances of three failures are 1 in 8,000,000 and even then you can buddy breathe off of a single remaining regulator and you should still have gas supply to exit (the remaining third is there for that kind of situation).
And now I'm more careful to not only get my regulator serviced but to be more aware of changing out hoses and to do so before cave trips if there's signs of wear.
Generally with cave fatalities there are blatant issues, such as failure to maintain a continuous guideline leading to navigation errors leading to simply running out of gas because nobody was paying any attention.
There's only one known cave diving fatality where all the rules were followed and diver still died, which was the cave diving fatality that killed Parker Turner.