China's factory activity stalled in May, signalling continued pressure on the sector from weak domestic demand and rising production costs, an official survey showed on Sunday.