It's valuable data. It's probably good for many things, from catching criminals, to selling to you personally, even to selling that data to other stores.
No disagreement on any particular point, but that doesn't explain/address why the cameras are on the self-checkout lanes only (as far as I know, anyway).