Plunging prices are revealing how much nations, hailed in recent years as perhaps having outgrown their roots in raw materials, still depend on those commodities.