Foreign investors have poured about 41 billion baht into Thailand's stock market so far this year as global funds rotate away from expensive technology shares and seek safer markets with stronger returns, placing Thai equities among Asia's top performers.