BMW will invest 1.7 billion in the United States to build electric vehicles. One billion will be used to upgrade the Spartanburg, South Carolina plant, and the rest to build a new battery factory.