Microsoft is slashing about 9,000 jobs in its largest round of layoffs in over two years, affecting teams across Xbox, sales, and other divisions worldwide.