Would you swap your partner for a robot designed to be 'the one'?

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?