Recession-proof Microsoft lays off nearly 1,000 employees across the company