Anyone doing business with Iran will not be doing business with the US, the president says.