The Iran war sent oil futures surging to historic gains this week, while stocks fell sharply in a worldwide selloff.