Mitsubishi Motors plans to end production of cars in China in response to sluggish sales amid stiff competition.