You're still disregarding Thailand. Not colonized, wealth "stays in-house". But that doesn't necessarily lead to industrialization. If the rulers spend the money on entertainment for themselves, that's essentially the same as sending it abroad, from the perspective of a peasant.