China should regulate the use of artificial intelligence to curb risks posed by the growing use of the technology, a senior government official said Friday.