Magic Leap Inc., the startup that raised more than $2 billion to build an augmented reality device, is exploring options including a sale, according to people familiar with the matter.