Investors pile into clean energy as Iran war drives push for energy security