I also think Dyson swarms are the future. But I think the Mars effort is helpful towards getting there.
Elon's public motivation for Mars is basically a human backup plan. And for that, it probably may be the best shot of the next 100 years. It seems like a million people living and working on Mars is more likely to survive a worst case scenario that a million people in rotating space habitats.