Stretchable display, gaze detector and more: Apple granted 40 patents