Thai Prime Minister Paetongtarn Shinawatra has pledged to close scam centres along the Thai-Myanmar border.