The global tech giant revealed this week it would cut around 4 percent of its global workforce as it ramps up investments in artificial intelligence.