Microsoft is cutting thousands of jobs in a major Xbox restructuring as the company narrows its gaming strategy and continues heavy AI spending.