This artwork contains several different layers, each with a unique element or set of elements on it. We'll not be highlighting when we make a new layer. Use your discretion when deciding to create new layers.
Start by drawing a rectangle using the Rectangle Tool (M). Give the rectangle a complex gradient to simulate a rounded bar. Make a copy of this shape and keep it off to the side. You can use the shape to make other curves this way.
In order to give the impression of the metal bar being bent we first need to expand the object. Go to Object > Expand, then click OK.