US sports clothing company Nike has won a court order in China to prevent a Spanish company from manufacturing and exporting clothing from the mainland using the "Nike" name.