I'm biased working for an online grocer, but isn't the problem really that you are in a store making the decision instead of in your kitchen at home? Half the goods I buy anyways aren't in a fridge, so a smart fridge only solves parts of the problem.
Yeah, if the argument truly is, "I want to be able to know everything I need to buy for cooking," then you need "smart" everything - cabinets, bread baskets, a way of analyzing the produce sitting in a bowl on the counter, pantries, freezers, and so on.
Perhaps it's because I'm the cook of the family, but to my mind, if you're in your kitchen on a daily basis, it's incredibly easy to have a strong idea of what you have at home when you're at the store. It's never perfect and once in a while you double up or miss things, but that's life!