All those things you meantioned were the very same issues they faced back then, to produce the very first phone also. The original phone was $399.00, and that was with all needed breakthroughs in manfacturing and technology that did not exist needed to produce and sell a phone at $399.00
Everything today is only "upgrades" to the original phone. There's nothing really new here, as this is normal computer evolution.
You even stated yourself "While expensive". The price of that $399.00 phone is now $699 or even $1099. And that's not including the additional headphones and charger one needs, so chalk up an additional $40.00 to that price.