What happened to Hephaestus when Zeus threw him?

His legs got weak and he built robot-like machines out of metal to help him walk.