Beijing's top spy chief warned that artificial intelligence could pose a threat to the Chinese Communist Party's rule as he called for greater government oversight in the tech revolution.