Apple has avoided the tech layoff rush that hit Google and Amazon because it made one key decision