"iPhone" was an Infogear, later Cisco, trademark, for the InfoGear iPhone (1997--2000 / InfoGear, Cisco/Linksys 2006--2007), which was licenced to Apple.
<https://en.wikipedia.org/wiki/IPhone_(internet_appliance)>
<https://www.cultofmac.com/apple-history/cisco-infogear-iphon...>
It was licensed... eventually :) Cisco where quick to bring Apple to court if i remember correctly.