President Trump has threatened to attack Oman if the Arab nation partners with Iran to assert joint control over the Strait of Hormuz.