China's factory activity shrank in October, official data showed Monday, after industries were hit by strict Covid lockdowns.