South Africa’s Cabinet approved a treaty signed with the Democratic Republic of Congo to begin development of a hydropower project that will eventually cost about $100 billion and generate 40,000 megawatts of electricity.