You don’t have to give them the points card.
Also, I know an engineer that was inside a monstrous grocery chain many years back. Back then the payment and loyalty systems were separated by technical measures and firing level policies. If you used a CC without a points card they were not able to associate it to any kind of account.
Obviously the CC processor could but they didn’t get a list of purchases.