Fruit that will get thrown out next week would be cheaper than fruit that expires later. If you’re going to eat it that day, you can save. At a grocery store in Milan, Italy, the longer perishable food sits on the shelf, the cheaper it gets, as an electronic price tag automatically adjusts using an algorithm.