China lost an appeal at the World Trade Organization in a case brought by the United States, the European Union and Japan to challenge China's restrictions on exports of rare earths, according to a WTO Appellate Body ruling published on Thursday.