Meta said that it is laying off an undisclosed number of employees in its risk organization amid a shift to use AI to automate compliance review tasks.