The automaker is committing nearly $7 billion, the single largest investment in its history, toward building more electric trucks and electric vehicle batteries in Michigan.