It would be cool if any food about to expire could be given away by your refrigerator. Maybe robots will one day handle that. Maybe even sniff the food to make sure it's still good.
Of course, when robots start cooking and restaurant quality meals on demand for the cost of the fresh ingredients, the need to store food will drop like a rock and this problem goes away.