Samsung had one last card up its sleeve for the upcoming Galaxy S25 phones: beating Apple at its own game.