Apple’s R&D spending hasn’t been this high since three years before iPhone launched