Amazon execs say layoffs are part of turning the company into the 'world's largest startup,' leaked memos show