That makes total sense -- I guess that's one of the things the Amazon Go stores are trying to solve.
Totally agree, I work on the COVID vaccine distribution/administration for one state in the US. Inventory tracking is very hard, not technically so much as operationally. For example, healthcare workers didn't go to school to learn how to maintain inventory levels, they went to school to deliver healthcare. Our systems have to constantly remind and nag the users to keep reported inventory at least close to reality.
Inventory management is something that's easy in theory, and very very hard in practice.