The stakes are high. The South Korean company lost its global smartphone crown to Apple in 2023, and faces growing competition from Chinese rivals.