Egypt has released a prominent investigative reporter after he was arrested for spreading false news.