Investors pour $140bn into US stock funds after Trump election victory