A handful of hospitals are launching their own chatbots, a risky bet aimed at better serving current patients and gaining new ones.