As chatbots grow more sophisticated, some people are forming romantic bonds — and even marriages — with artificial partners.