Oppo and Vivo had no other choice but to have massive layoffs due to disappointing sales of their smartphones.