I grant you, that Apple was, likely, working on iPhone OS several years before the July, 2007 release.
Apparently not. From several articles on iPhone history it seems that Apple didn't start on mobile OSX until January 2006, just one year before Jobs showed it off. Before that, they were using modified iPods as idea mules.
The short development period explains why, in Fall 2006, Jobs was still telling his crew they didn't have a viable product yet. They had to do a lot in a short time.
The Commodore Pet and the Trash-80 (Radio Shack TRS-80) were "complete" computers (fully functional as-is)-- they contained the computer as well as keyboard, display and tape deck I/O (cassette recorder).
The Apple ][ was a computer and a keyboard in a case. You had to separately purchase/add:
The Apple ][ was very expensive at the time, and took years to sell as many as the TRS-80 and others did within months. At over $1500 in useful form, it simply was not a "personal computer" for the masses, like the $500 competition. (In 1978, minimum wage income was less than $100 a week after taxes.)
(Being a relatively poor veteran at the time in college, I homebrewed my first computer using a 6802 cpu with a custom 32x32 dot oscilloscope vector/pixel display output, and just 256 bytes of RAM, later upgraded at huge cost to 4K.)