Curtains open by voice command. Beds monitor breathing during sleep. An AI robot offers words of comfort before surgery.