Harmony Gold said five people died in two separate incidents in South Africa, and that it is investigating the causes of the accidents.