The legacy business is funding a shift to electric vehicles (EVs) and industrial power generation.