The United States is claiming victory in a trade dispute with China, after Beijing announced it would scrap subsidies for products including automotive parts and vehicles.