Samsung Electronics reported a dramatic surge in first-quarter earnings, driven by soaring memory chip prices amid a global artificial intelligence boom that has tightened supply across the semiconductor industry.