The company, which owns Facebook, is letting go of thousands of workers as it prepares to hire a round of machine learning ...