US President Donald Trump is threatening to intervene if Iran violently suppresses protesters, leading to Tehran warning of Middle East "chaos" if he does.