It's not even a valid comparison and disingenuous because software products now don't need to be sold through any retail outlet, and can be sold directly to the customer through the internet. There is absolutely no need of any app store as a middle man here.
There are plenty of companies who sell their products directly to consumers. So physical products don't need to be sold through third party retailers either.
And some brands have started doing just that. But that's not the point - Amazon or Walmart doesn't prevent me from buying the products directly from the producers / manufacturers or from some other third-party. Apple does precisely that with its app store and ios platform (and soon will do with macOS).