Really, you can predict goods spoilage just given how old stuff is. You don't need a smart fridge; you just need an ETL pipeline from a ScanSnap (reading in your grocery-store receipts) to an inventory tracker app. You've got "smarts", but they're not in the fridge.
(And in the end, that's better: an inventory-tracker app that's on your phone is able to tell you to throw stuff out without you needing to own a "smart-home hub" or configure your fridge to connect to your wi-fi; and, unlike the fridge, its notifications will probably keep working even if its manufacturer goes out of business.)