And don't forget this result in a higher price for customer, while Costco's model save customer money.
I am however, see it as less of a problem if they charge fee over one-time purchase and make me aware of whether I am paying it.
There are other arguments to be made about the store fees, but Costco is pretty much like apple store and vendors don't even have the option of saying "hey they will not stock it but you can pick it there anyways", which is what Apple allows you to do by having an app that can be registered / paid for elsewhere.
Apple Store is no cheaper and 30% is a huge cut, many service providers raise the price for iOS user to compensate this. So customer gets no benefit paying the 30% premium, at least not in Netlfix's case. Watching Netflix on iPhone doesn't necessary make a different experience. This is all because Apple had a monopoly on iOS platforms, had there be another App Store, I am sure many users will go there to avoid the 30% cut on themselves. It is called Apple Tax for a reason.
Having a Costco subscription doesn't interfere with the customer from buying things from Walmart or Amazon. Costco couldn't demand to pay 30% lower wholesale prices than Amazon and then charge the same retail prices because suppliers would just sell through Amazon instead and have access to all the same customers. Even customers who have a Costco card can trivially buy anything from Amazon if the product is not available at Costco or even if Amazon just has the lower price.
The difference with Apple is that iOS users can't do that. Users can't reasonably buy an iOS app through anybody but Apple.
Another difference is that a phone is more than a thing to put apps on. A Costco card is only for buying things at Costco. Someone may buy an iPhone because they prefer the OS, or the hardware, and then get stuck with the App Store because it's not sold separately. Nobody pays for a Costco membership because they like the design of the card.