My understanding is that this isn't what happened.
Meta laid off a bunch of employees. Meta claims they used an AI to gauge employees' productivity as a basis for who they laid off. The employees are accusing Meta of laying off employees who took too much medical leave.