That is not a good analogy. Supermarkets, retailers etc charge a fee from the vendor because that is their primary source of income ("bread and butter", if you may). In the OP's case, the "supermarket" is an iPhone device which the user has already paid a premium price for.
EDIT: bduerst covered this already https://news.ycombinator.com/item?id=23571076
Grocery stores also have slotting fees.
> Grocery stores also have slotting fees.
Again, the whole point I'm trying to make here is that comparison to grocery stores just doesn't work (because of reasons mentioned in the first comment)
* English is not my first language so I'm having trouble finding the perfect word.
Having stock costs money, you have to decide what to stock and take a loss if you can't sell it, nothing is automated so you need more staff...
It's really apple to oranges.
If you are shocked that companies take a fee for distribution then wait until you see how things work in the real world.