The global downturn makes clear the perils of relying too much on one industry.