Sources tell Reuters layoffs could affect 20% or more of company as plans reflect broader tensions within big tech