The US has filed a complaint with the World Trade Organization (WTO) over what it alleges are China's illegal subsidies aimed at boosting exports and discouraging imports.