玩意 is colloquial and often slightly dismissive. 玩意儿 (wányìr) with erhua is the more common northern form. It can refer to anything from a gadget to an idea.
usage
什么玩意 (what the heck is this?) carries an annoyed or contemptuous tone, unlike the neutral 什么东西.