A tech firm that builds chatbots for big brands like Macy’s and Alaska Airlines is acquiring a bot startup to corner the messaging market