Did Charlie and the Chocolate Factory predict the arrival of AI?