Iran's supreme leader Ayatollah Ali Khamenei says he was grateful to US President Donald Trump for revealing "the real face of America".