I’m pretty sure that dogs perceive cars as inanimate objects, they just might not like the sounds they make. But being the instinctive animals they are, they can probably sense that cars are no living beings. I mean people usually say that dogs can smell fear and if they are clever like that they can probably ‘smell’ that cars are not animals.
Just my opinion though!