China has launched an unmanned spaceship in the latest step towards creating its own manned space station by 2020.