The Iran war has created a reshuffle in investing. High-flying tech companies are out while unloved old economy names are getting a second look.