Facebook is replacing human editors on Trending Topics with an algorithm, Recode reports.