YouTube is undergoing a staffing shakeup as the company pivots to focus on artificial intelligence, offering US-based employees voluntary buyouts.