Underground 6 - Broken Robot

You turn around a corner and see something being thrown out of an opening above. It lands with a clash and you see the remnants of a broken down robot. After a brief analysis of the robot you decide you have a couple of options. Do you harvest some resources from the robot or do you use one magic and two gadgets to try and revive it?