Ford Motor Co said it would invest $4 billion through 2023 in its newly formed autonomous vehicle unit, Ford Autonomous Vehicles LLC, as it looks to produce self-driving cars in the next three years.