Now owners are scrambling to save their friend, explain its death to their children, and come to grips with the mortality of a robot designed to bond with them, not to die.