Apple faces exactly the same problem with the iPhone as it did with the iPad — people are hanging onto older models for longer. That's a problem for Apple's profits and stock price as long as the company primarily relies on selling hardware. A leading Apple analyst thinks the company could make…