Based on NASA's Asteroid Redirect Mission, a satellite would grab a boulder and return to predetermined orbit. Robotic arms are used for various purposes including grabbing a boulder. Canadarm 2 is an example of an advanced robotic arm used in space.