In China and other emerging markets, growth is waning and demand for the raw materials that drive the global economy has dried up.