The plot borrows elements from Aesop’s fable The Ant and the Grasshopper and Akira Kurosawa’s classic film Seven Samurai .