That the Godox TT350 is half the price, offers most of the same features, and works as a master/slave controller in the Godox wireless lineup.>>3221271
If you're going sub-20mm, stick with the zooms, or up to date third party primes (Samyang 14, Zeiss 15/18). Nikon hasn't updated the 14 2.8 since it was released in 99. For zooms, you could pick any of the Nikons (18-35G, 16-35/4 VR, 14-24) or third party (Tamron 15-30, Sigma Art 12-24) and you'll be fine.>>3220889
You could take car photos with a potato and they'd be fine. Whatever you pick, invest in a polarizer. Any will do.
Canon's EF-M lens lineup is limited, although there's a couple really good lenses. The dual pixel AF is adequate, and decisive. Those cameras all have mic input if you wish to do video. The M6 and M5 have IBIS, important for smooth hand held video. The M6 has an optional viewfinder. If you need more lenses, you can always adapt full size Canon EF lenses at the cost of extra expense and size. I'd pick up the EF-M 22/2 and 11-22, which would cover most use cases for car photography. Add the 55-200 for trackside photos.
Of course, you have to ask if this is the camera of choice. I think the EF-M cameras make sense as a Canon DSLR shooter. They make a little less sense as your primary system if you compare features against other systems. I'd pick it if looking at the other systems you find the Canon still the most appealing. The Fujis can now shoot a good 4K, has a decent AF, have more lenses, but no IBIS. The Sonys have good video, decent AF, more (full frame) lenses, a full frame upgrade path, and IBIS. M43 has good video, voodoo IBIS, decent lens selection, but people are scared of peanut sensors. The traditional DSLRs do the same job with the benefit of battery life, lens selection, and AF performance, but generally do worse at video. EF-M does have the benefit of being not particularly expensive, while offering decent, but not class leading, video, AF, IQ, and features.