US factory activity contracted for an eighth consecutive month in October as weak demand and production declines deepened the slowdown across major manufacturing economies already strained by sluggish US demand and lingering trade tariffs.