... but this is how actual retail works.
Real-world Billy doesn't hold the "license to sell electronics," but the various mall management companies - of which there aren't very many - do in fact exclusively control the real estate in the shopping malls. They don't charge Apple a percentage of sales, but they charge them some amount of money for simply having the store, regardless of sales, which can be even more: if you look at the latest MacBook in person at the store, go home, and decide you want to buy it from apple.com, the landlord still gets money from Apple.
The various mall management companies make, quite literally, billions of dollars a year. The landlords who own non-mall property for the Apple Store downtown also make piles of money. And they don't need a license, nor do they need to convince anyone that they're protecting anyone. They just own the land.
And Apple also sells products through various other retailers, like cell phone companies, Best Buy, etc., each of which work out deals of various sorts. You generally can't buy an unlocked, no-contract iPhone from a cell phone company. You get an iPhone with a contract that commits you to spending way more money than the cost of the phone.
Arguably, Apple's role is a lot fairer; there's no scarce resource like properly-zoned land in a populated city on which the App Store was built. Anything that happens on the App Store is entirely Apple's doing; anything that happens in a mall or in an existing retail store is partly the owner's doing and partly their good fortune to have put themselves there before someone else did. If someone wants to compete with iOS and the App Store, they are free to build their own version from scratch - nothing Apple did is stopping them. If someone wants to compete with a shopping mall, you can't just plop down a new shopping mall - the land is in use. If we think Apple doesn't deserve to take a cut for use of their platform that they built, the landlords certainly don't deserve rent for use of land that they bought.
(Which is, to be fair, my own personal opinion, but the market doesn't agree with me, and there's very little point in me pouting at the market.)