Beijing’s rapidly advancing spying operations have seen agents penetrate the island’s armed forces, enticing personnel to pledge allegiance to China.