This strange structure is a wooden sculpture built a couple of decades ago. Work was still in progress when the sculptor died, and sadly it has just been looped with a bit of barbed wire and abandoned.
The real beauty is in the details, which don't come out in the photo.
It is located in a little section of wood near Dianabad, to the south of the city. It's very close to the Russian Embassy.