China's factory activity contracts unexpectedly in July as COVID flares up