The carmaker plans to invest proceeds into transforming auto production as it readies to launch electric vehicles.