Tata Motors' Jaguar Land Rover (JLR) has won a major copyright case in China against a local car maker.