The chief of design at Apple says in an interview that the company’s flagship product “wasn’t inevitable” and might have fallen through many times.