A spokesperson for Iran's military vowed to retaliate if President Donald Trump carried out his threat to strike Iranian infrastructure.