Apple reported robust fiscal 2025 first-quarter earnings that beat expectations, despite mixed performance in key segments.