This. Space based mining is going to be huge, and probably the real reason spacex exists, as colonising Mars doesn't really make any sense. Building our own habitats in space will be how we populate the solar system, rather than trying to live on a dead rock like Mars.
The sense of colonizing Mars is abundance of raw materials (a whole planet worth right there) and the convenience of gravity (put something down, it tends to stay there). Space has benefits, but is defined by being devoid of resources, and stuff tends to drift off.