Johannesburg, Africa’s richest city, was built with profits from gold seams running through the region. Today, the country’s gold-mining industry seems headed for a decline, with output dropping for an eighth straight month through May, as aging infrastructure, depleted reserves and accidents raise costs and curb volumes.