TikTok did not give a detailed reason for the layoffs, which will shutter its Nashville office.