Toyota has cut production in China because of a sales slowdown.