A lot of people are ignorant of the fact that a smartphone, or any device, for that matter, is a result of research work done by many people and organization and over a very long time. The iPhone was not solely the work of Apple. Apple benefited from all the scientific and technological progress and accumulation of knowledge to be able to produce such a device. These knowledge and progress are often done many years ago by researchers who work on a particular topic that eventually found an application in a smartphone.
I found this interesting website that highlights how research that originated out of universities under various funding agencies, resulted in the smartphone that we currently have. It lists one aspect of each of the major component of a smartphone that had it initial incubation in university research. A lot of these research work is physics-related. It is why I continue to say that physics isn't just the LHC or the Higgs or the blackhole. It is also your MRI, your iPhone, your GPS, etc...
If you need more background info on this, check out this page.