I have had this problem also, never caused harm to equipment however. Had a integrated amplifier that would go into protection mode. Even happened when using the remote (metal one).
As many have aforementioned, a discharge prior to touching equipment is best protection. ALso, as Elizabeth stated, bare feet, or even taking shoes off helps reduce static buildup.