Iran's currency, the rial, plummeted to a record low as former US President Donald Trump neared victory in the US election.