T-shirt, underwear and sock maker Hanesbrands Inc is to cut nearly 400 jobs and close its yarn production plant in China Grove, North Carolina as part of its latest round of cost-cutting measures.