Samsung unveiled a foldable smartphone for the first time on Wednesday. The phone has a tablet-sized screen that can be folded up to fit into a pocket.