Cisco announced job cuts affecting roughly 4,000 staff, as CEO Chuck Robbins shifts the company's focus to AI investments, buoyed by strong earnings.