First, it wasn't about the hardware. Other companies (Nokia, HTC, Samsung, Motorola) were doing competitive hardware.
It was all about the software and Apple was so far ahead of everyone else, that if they took 1 year more to ship, they would still be far ahead of everyone else.
As history shows, the only credible competition was from Microsoft and Android. RIM/Nokia/Samsung/HTC/Motorola (all significant players) couldn't replicate iOS no matter how much time they would take.
First iPhone was released on June 2007 (https://en.wikipedia.org/wiki/IPhone)
Windows Phone was released on Nov 2010, 3 years later (https://en.wikipedia.org/wiki/Windows_Phone).
First Android was released on September 2008 (https://en.wikipedia.org/wiki/Android_version_history) and took a long time to achieve design quality parity with iOS.
Apple had plenty lead time.
How did they know that for certain?
It's also worth being ... cautious about this account. Many of the competing / complementary perspectives aren't represented, often because they are still working there.