Thailand is attracting capital inflows partly at the expense of Indonesia, as investors seek markets with stronger fiscal fundamentals and lower perceived risks, according to its finance chief.