People paid for it, even people who couldn’t afford it found a way to pay for an iPhone
The huge cash burst into Apple meant everyone was scrambling to deal with them.
Then economies of scale, negotiating leverage with third parties and sheer momentum propelled them