Cars have only existed for ~150 years, American cities are mostly older than that. Spreading out was a choice but it wasn’t because of cars.
At one point in time 100 years ago you could take commuter rail systems all the way from NYC to Cincinnati. Those systems were removed 1950s and then the bus companies that removed them ‘mysteriously’ stopped having so many routes (many were owned by GM…).