The world is heading toward a 10 million-ton copper shortage by 2040, a gap that S&P Global warns could create systemic risk for the global economy.