Replika, an app that creates an artificially intelligent doppelgänger, offers a glimpse into the future of human-bot interaction.