Investment in Thailand breaks record despite political uncertainty