A goods train from China completed the world’s longest rail journey when it reached Madrid, its final destination, on Tuesday.