In the analogy, Apple is Walmart. Could you explain what it means for Apple to be "mayor of the town"? Apple is not the mayor of any metaphorical town. They own a business.
Apple would just have to take other phones as payment for their phones, and the same in reverse.
The issue isn't one of technology, it's that you're pretty much locked in after spending a lot on a phone.