AI stocks gain 2% to lead global equities as oil rebounds