A video has been posted on social media purportedly showing Egyptian soldiers summarily executing unarmed detainees in the Sinai Peninsula.