As far as I can tell it was always structured as a normal business, albeit one requiring an annual membership fee: https://en.wikipedia.org/wiki/Costco
Co-ops are different: https://en.wikipedia.org/wiki/Cooperative
Is it owned by the public (the state), or by private persons? Private persons.
It is a private business.
Eg the investment manager Vanguard has a very curious ownership structure:
> Vanguard is owned by the funds managed by the company and is therefore owned by its customers.
https://en.wikipedia.org/wiki/The_Vanguard_Group
So Vanguard is in some real sense a co-op, even if that's not the legal official form of the company.
See https://investor.vanguard.com/investor-resources-education/n... for more on the matter. (But keep in mind that it's advertisement by Vanguard about itself. So take it with a grain of salt.)
For a clearer example, Sam's Club has a similar membership, but that's well-known to be owned by Walmart…