Artificial intelligence, firms and consumer behavior: A survey