you do not pay for that. the price of the device is the price of the device. can't compare to a game console that sells at a loss. these are different things.That's a rather poor analogy, but in any case what does it matter? You are the one who gets to set the price.
The reason it's a poor analogy is that Apple doesn't provide all the support they do for altruistic reasons. They do that so that the hardware they want to sell you is a viable product and we all already pay for that through Apple's sizeable margins.
The iPhone comes with a store. You don't have to use it. You could potentially only use the apps that come with the phone and use the store to keep it up to date only.I'm not complaining, I'm just stating the obvious.
Beyond that they should absolutely be able to provide additional services to run on that platform and be compensated for them, but the iPhone isn't a store. Neither is iOS.