Volvo has said that it is pulling out of a Chinese truck venture that it says has not been as successful as expected.