Tehran has warned of strikes against Arab rulers and American assets in the Gulf if the United States attacks.