Samsung rides global AI boom to its biggest profit since 2022