A Crew Dragon capsule from Elon Musk's SpaceX will be their ride home, part of a contingency plan devised by NASA last year.