The decision to put its flagship Watson Health business up for sale underscores the wider challenge tech companies face in healthcare.