US manufacturing activity picked up in October, supported by the strongest production growth in nearly five years.