That's exactly what loyalty programs are. You sell your data for a discount on purchases. It's not even a secret, that's the actual goal of loyalty programs.
They seem like a pretty natural successor to the punch card model, which I can't imagine had a motive beyond the obvious.