Samsung Electronics Co.’s quarterly profit beat expectations after strong demand for its Galaxy S25 smartphones and legacy ...