My partner works in buying for physical retail (caveats: nothing to do with software, also she’s generally worked mid market and above, rather than anything high volume/low cost) and I believe _margin_ is often 30-60%, or a range similar to that. Larger retailers will also have agreements with suppliers where the margin is stipulated, I believe per SKU.
Obviously the comparison is slightly Apples to oranges, as physical retailers have massive overheads/COGS that Apple don’t incur for the App Store.