Johannesburg, South Africa’s biggest city and capital of Gauteng province, began as a 19th-century gold-mining settlement.