Alexa and other parts of Amazon’s devices and services organization were a major target of the company’s recent layoffs.