A senior Iranian military official says Tehran will destroy regional energy hubs if its facilities face attacks.