The maker of QuickBooks and TurboTax is cutting 1,800 jobs as it shifts focus to getting AI into its services.