Microsoft is laying off 4,800 employees, offering generous severance packages as it reallocates resources towards AI infrastructure, reflecting a broader industry trend.