President Takeshi Sugiyama will quit after the Japanese electronics conglomerate found it had cheated on inspections for air conditioners and compressors for train use.