A technology expert is warning Artificial intelligence could end up being used to teach children as part of a “dystopian” future.