The movie "Her" reawakened the idea of artificial intelligence. If you haven't seen the movie the main character upgrades his computer operating system to a voice interactive, intelligent assistant. The assistant becomes his companion, helping him organize his life, and (spoiler alert!) he eventually falls in love with "her."
The key technologies to make this happen already exist: voice recognition, mobile devices continually connected to powerful computers, the Internet as a data base , and most critically neural networks that can learn like humans. Our expectation is we will see this happen certainly within 10 years, possibly within 5 years. (Whether owners will fall in love with their computers is still open to debate.)