Could robots steal our hearts as well as our jobs?

The 2014 movie Ex Machina shows what happens when a human falls in love with a machine, but could it happen in real life – either human or mechanical?
As robot personalities become more and more humanlike, could we see these inter-technological relationships become commonplace?