Samsung Electronics Co. showed off a new phone with a foldable screen in a bid to shake up a smartphone business awash with black, shiny rectangles that look increasingly similar.