We might pay $200 upfront, but the carrier pays Apple over $600 per iPhone. (Average $640, I think. It's a big upfront cash hit and affects carrier stocks. This is a major reason why they often push non-Apple devices in their stores.)
We then pay the carrier back for this $400+ loan over a two year contract, at a rate of about $20 per month. (AT&T has stated it takes an average 20 months for them to get back the subsidy.)
WHAT DOES IT COST TO MAKE AN IPHONE?
People keep bringing up R&D and other costs, but never seem to sit down and calculate them. So I did. Using figures from filings and recently revealed Apple trial testimony:
Apple makes an average 53% gross profit margin ($340) on iPhones. That's their raw revenue after paying for the parts, manufacturing, packaging, shipping, and patent licenses per device.
Of that $340 gross per phone, about $20 goes to R&D, $50 to support Apple employees and buildings and sales and ads, and $70 is put aside for taxes... leaving a nice net profit of $200 (30% net margin) per phone.
Note that the R&D portion allocated here is probably high. Perhaps double or more. iPhone revenue is so much higher than other devices, it undoubtedly subsidizes R&D for lower margin devices like the iPad, iPod, Apple TV, etc.
Summary: Out of the $640 Apple sells each iPhone for, $300 goes to making it, $140 goes to corporate costs, leaving $200 or more clear profit to stick in the bank.