Williams-Sonoma turns to AI to curb headcount growth