When people lose confidence in a particular economy or market and withdraw their investment from it, you can refer to a flight of capital from that economy or market. [business]
TI has seen its shares suffer because of a flight of capital to telecom and internet-related businesses.