I bet this is just like some pegs I have from Ikea. The shiny metal part is actually in two parts that screw together. You just can't see the join in the photo.
So hold the part nearest the wall and twist the part furthest from the wall anticlockwise. You may need grips.
When it's in two parts, the screw and plug in the wall will be obvious.