This assumes Apple is going to release the car before autonomous cars become an established market. Apple probably could have released HomePod back in 2014 around the time Alexa was released. They chose to watch the market unfold and enter when they felt was right.
There's no reason they can't be working on a car that won't be released for 5+ years, after the market has matured.