An unmanned capsule from Elon Musk's SpaceX was due to return to earth on Friday after a short-term stay on the International Space Station, capping the first orbital test mission in NASA's long-delayed quest to resume human space flight from U.S. soil later this year.