Except Facebook and Google aren't operating mass incarceration camps that target people solely based on ethnic/religious affiliation. The moral dubiousness of working for Google isn't the same as working as an informant for the Chinese secret police.
Facebook has paramilitary factions genociding the Rohingya? I'm not denying that Facebook played a role in the spread of misinformation and conspiracy theories in Myanmar but to place the blame directly on them is absurd. Facebook is just an ill-moderated medium.
EDIT: This whole idea that Facebook's only sin was not moderating enough, and that they didn't give direct support to the government to help the genocide is just their PR and legal departments going into overdrive because they know they screwed up hard.