Best Buy said it laid off 5,000 employees this month.