It's not just the auto industry; Detroit was a US industrial hub, and had a diverse manufacturing employment base that included defense spending, textiles, energy, food... the whole Rust Belt got shellacked by deindustrialization. I might go out on a limb and say that if anything, the auto industry kept Detroit alive. Look what happened to Gary for a more grim example.