The US is deploying an aircraft carrier, warships and jets to the Middle East as Trump warns Iran over executions and a crackdown on protests.