Artificial intelligence in myths and legends