China-linked espionage groups have attacked a dozen nations in the region, gathering information on maritime shipping, oil production, and other interests.