Stocks slide as Trump warns of US economy 'transition'