The company prepares for the foldable iPhone and touch-screen MacBook.