Zambia’s regulatory delay and denial of a major investment created a dispute that should worry those eyeing Africa’s critical minerals and banking sectors.