Watto purchased him, and had him work with a massive group of Jawas to scavenge podracer parts.
Robbie was able to build C3-PO 2.0 from the parts he found there. He was a little rusty, but he was working and Robbie finally had a companion to work.
Then watto sold c3-po 2.0
Robbie filled the anger through his blood. He went cray and punched watto in his big nose.
Unfortantely, punches don’t work on Toydarians, and so Watto sells Robbie to Jabba the Hutt.
“Hoh Hoh Hoh!” Jabba laughed. Robbie didn’t like people laughing at him, so he attacked Jabba.
To which jabba opened the trap door, catching him by surprise and causing Robbie to fall through a wormhole to the Simpsons
But once there, Robbie found himself in the Springfield nuclear power plant.
He decided to overload the power plant, resulting in a disaster not unlike Chernobyl. Without the massive death, of course. All the radiation went inside robbie, who looked at himself and started to dance.