The iPhone definitely did not definitely did
not bring tons of people to computing for the first time. By the time the iPhone came out PCs and laptops were pretty much in every home anyway. Let me put it this way, I live in a third world country(Lebanon), and the first time we had a computer at home was in 1996(11 years before the iPhone), and by that point most of my friends in school already had a PC at home. We were not wealthy by any measure(more like lower to middle class at the time).
The iPhone did many things, but that is not one of them. No, what brought computing to the masses was Windows and cheap computers(around the time of the 486~pentium era). While I agree that nowadays it's common for a child's first interaction with computers to be a smartphone, this was definitely not the case when the iPhone was first introduced in 2007 and access to computers was already quite common and cheap everywhere around the world