The layoffs will amount to the largest cuts to Amazon’s corporate workforce in the company’s history, according to a person familiar with the matter.