That being said, the best things to do are the obvious things. Take care of yourself (no smoking habits, no binge drinking). Tell your doctor about your family medical history so you can keep an eye out for hereditary diseases. Live below your means. Have an emergency fund -- a huge one if you're especially concerned.
But besides all that, bankruptcy exists for this sort of situation. Sometimes life sucks and there should be a way to hit a reset button and move on.
I hear talk of far-off countries, where no one goes bankrupt from medical expenses.
Many countries that provide universal healthcare either have budget problems or financial situations not true of the U.S. (small size, proportionally large oil reserves). Even then, at the end of the day, someone still says no to some costs.
Regardless, medical bills are the leading cause of bankruptcy in the United States [1]. How can we live in a society where anyone but the wealthiest individuals could be struck down financially at any moment? How much entrepreneurship is completely stifled by the need to stay at a particular job due to proper healthcare coverage? I would venture to guess the answer is quite a lot.
This scared me like anything when I first saw it. Any steps that the HN crowd can suggest to pre-empt such costs (I know that there might be very little you can do, but figured every little helps.)