Sans the ads, that would actually be a productive use for AI. Maintaining a well stocked fridge and pantry is a full time job in itself, especially if you have children.
Unfortunately you'd have to wire your entire kitchen in cameras, your scale needs to be smart and all of it needs to be sent / processed in real time to track consumption which means it will take a lot of compute power and a level of data mining that could be abused by anybody from enterprising break-and-entry crews to the police, and on top of that if it's done by a cloud provider it's probably gonna end up in a data lake for targeted advertising.