Over 100 years ago, the gold mining industry of South Africa had a problem: too many workers were dying from pneumonia.