BMW plans to invest $1.7 billion in U.S. to produce electric vehicles