Shopify performs a service, Herbalife does not. Shopify recruits people, Herbalife sells inventory.
I don't see Shopify asking for upfront payments from their affiliates.
Not to mention the fact that a successful Shopify store relies on skill at SEO, social media and picking the right products. Herbalife relies on being early enough in the "reverse funnel" and having a lot of people downstream (not skill).
There is literally no similarities between Shopify and HerbaLife beyond a program recruiting people, which basically every large site has.