Iran war and AI demand help drive revenue at Rio Tinto, Woodside