It isn't attached to any of those, but when it is being used it is attached to something.
The picture shows it unattached and not in use.
It is an old version of something that some people would still use today.
It is like that rabbit/duck picture.
You can see it either as an artificial leg or a steampunk lamp, but not both at the same time.
Were you surprised when you saw it as a leg?