Potential layoffs would mark tech giant’s largest restructuring since 2022-2023 rounds that eliminated 21,000 jobs