Lost in space: How 'digital twins' saved NASA's robots