Apple Inc. said Tuesday that it planned to hire a high-ranking I.B.M. technology executive to run its iPod and iPhone hardware engineering groups.