Iran has threatened to block oil exports by Gulf countries, as U.S. President Donald Trump said he was no longer seeking an agreement with Tehran.