The president has unintentionally set off an international scramble for renewable energy due to his war in Iran