A SpaceX rocket has launched a satellite into space before landing back on a drone ship.