Boeing and SpaceX will build the next generation of space vehicles that will carry US astronauts to low-Earth orbit and back, NASA said Tuesday.