A $4 billion healthcare AI company promised to give hospitals their time back. Its rise, retreat and surviving products reveal the distance between automating a task and fixing a system.