Shock on every metal part of the apartment
This sounds like a rather...static-y problem

Because the shocks take time to come back after they happen (instead of happening repeatedly every time you touch metal), this is most likely an issue with static electricity buildup, which can be due to a variety of factors, such as clothing and building materials used, ambient relative humidity, and such.  It's not a sign of electrical trouble, at least, though!