Microsoft has confirmed prototypes are being developed for an Xbox handheld, as it seeks to rival the Nintendo Switch and Steam Deck.