Samsung makes an "AI Vision" fridge I looked at briefly, but it didn't come close to making sense for us given the unreliability of the vision system, the cost of replacing a couple fridges, and the comparative simplicity of a paper list.
You can only track what containers are in the fridge, not how much is left or if it’s expired. “Automated” pantry or fridge tracking is just not possible and requires way more effort than just writing “mustard” on the shopping list when you notice you’re low.