California hospital officials ‘regret falling short’ after a robot notifies a patient that he has only days to live