It wasn't iPhone that doomed Nokia, it was Android. All of the sudden all Nokia's competitors could ship fairly good touch screen phones, while previously Nokia had a virtual monopoly on advanced mobile operating systems (barring BlackBerry in the US).
Granted, it was going to happen anyway, probably through Microsoft if Google hadn't commoditized that market first.