Costco is a terrible example for the point you are trying to make.
Costco (rather famously) makes most of it's money from the membership.
https://www.fool.com/investing/2019/02/13/how-costco-actuall...
In a way, the cheap bulk goods are just a way to convince people to get the membership.