Leaked Huawei memo reveals the company is in a ‘live-or-die moment’ as it plans firings and demotions