The US president intensified military threats against Iran after a deadly crackdown on protests that rights groups say killed thousands.