Japan's Nidec to buy MHI's machine tool unit as it bolsters EV motor business