Chinese AI ‘can check loyalty of party members’