This happens days after Tesla CEO Elon Musk said that artificial intelligence (AI) was the biggest risk.