Chinese companies, often enticed by government subsidies, have invested so much in targeted industries that factory capacity far outpaces demand.