About 2,800 Social Security employees have taken buyouts or early retirements promoted by Musk’s group, according to agency data.