How Asteroid Mining Will Work