Chitti, a robot programmed to help humans, falls in love with a human. That was Robot, a 2010 action sci-fi. Twombly, a writer buys an AI system to help him with his writings, however, when he finds out that it can follow instructions, learn, and adapt, he falls in love with it. That was Her, the romantic sci-fi in 2013.