South Korea’s Hyundai Motor and its Kia affiliate said they plan to invest $7.4 billion in the U.S. by 2025 to produce electric vehicles, enhance production facilities and develop smart mobility technologies.