Google offers voluntary exits to employees in countries as AI spending rises