An Egyptian court on Sunday handed down life prison sentences to 38 people, including a self-exiled businessman whose social media posts helped to spark anti-government protests.