Hospitals are using "digital twins"—virtual copies of their buildings and systems—to test changes safely before doing them for real.