Artificial intelligence and magical thinking