Which is why you use solar-powered mirrors for energy. Do take a look at the SPS designs, basically using solar sails to reflect the energy to a generator which can transmit the power to a smelting plant, or keep it focused for smelting, or transmit the energy to Earth as a low density microwave beam. The mining equipment is a bootstrap operation. The first loads of iron smelted from the satellite are used to build the next generation of mining equipment. There is an initial startup cost a "priming of the pump"., but as much as possible you use space based resources.
Energy is _outrageously_ available once the first solar power mirror based plants are working. NASA's last estimates guessed about 20 years to provide return-on-investment for the first few built. They don't have to be in close proximity to the smelting, they can in theory beam the energy as microwaves across empty space.