This level of intelligence and context-awareness is getting closer and closer to parts of the vision presented in of the inimitable Bret Victor's Magic Ink
essay. If you haven't read it and you work in HCI/UX, please do. http://worrydream.com/MagicInk/
Who would've expected we would get closer on mobile devices than we ever did on desktops.