Elon Musk's SpaceX simulated an emergency landing to test a key abort system on an unmanned astronaut capsule, the final test before flying NASA astronauts.