Warren Buffett says traders as treating the stock market like a gambling parlor.