Many companies lack the capacity to deal with natural resource constraints, according to a survey by the consultancy McKinsey & Company.