https://www.loc.gov/everyday-mysteries/motor-vehicles-aeronautics-astronautics/item/who-invented-the-automobile/
"There are many different types of automobiles – steam, electric, and gasoline – as well as countless styles. Exactly who invented the automobile is a matter of opinion. Earlier accounts often gave credit to Karl Benz, from Germany, for creating the first true automobile in 1885/1886. However, our knowledge of the invention of the true automobile continues to evolve. The story of the invention of the automobile has become enriched with various other figures who played a part in its history."
So in the eyes of the US, first automobile was created in the US.
And there's countless examples of different interpretations by different countries. For example, one of the aviation pioneers Sikorsky is claimed to be American by US (lived and worked in the US), Ukrainian by Ukraine (born in Kiev, capital of modern Ukraine) and Russian by Russia (born in Russian Empire technically)