v3.26.1
Fair Value Measurements - Schedule of Fair Value of Financial Instruments (Details) - USD ($)
$ in Millions
May 31, 2026
Jan. 23, 2026
Aug. 31, 2025
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount $ 3,378   $ 2,885
Senior Notes | 3.950% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 3.95%    
Carrying Amount $ 499   499
Senior Notes | 3.600% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 3.60%    
Carrying Amount $ 498   498
Senior Notes | 3.000% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 3.00%    
Carrying Amount $ 595   595
Senior Notes | 1.700% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 1.70%    
Carrying Amount $ 0   499
Senior Notes | 4.250% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 4.25%    
Carrying Amount $ 499   497
Senior Notes | 5.450% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 5.45%    
Carrying Amount $ 298   297
Senior Notes | 4.200% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 4.20% 4.20%  
Carrying Amount $ 497   0
Senior Notes | 4.750% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Stated interest rate 4.75% 4.75%  
Carrying Amount $ 492   0
Senior Notes | Carrying Amount | Level 2 | 3.950% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 499   499
Senior Notes | Carrying Amount | Level 2 | 3.600% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 498   498
Senior Notes | Carrying Amount | Level 2 | 3.000% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 595   595
Senior Notes | Carrying Amount | Level 2 | 1.700% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 0   499
Senior Notes | Carrying Amount | Level 2 | 4.250% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 499   497
Senior Notes | Carrying Amount | Level 2 | 5.450% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 298   297
Senior Notes | Carrying Amount | Level 2 | 4.200% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 497   0
Senior Notes | Carrying Amount | Level 2 | 4.750% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Carrying Amount 492   0
Senior Notes | Fair Value | Level 2 | 3.950% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 495   496
Senior Notes | Fair Value | Level 2 | 3.600% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 480   480
Senior Notes | Fair Value | Level 2 | 3.000% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 553   551
Senior Notes | Fair Value | Level 2 | 1.700% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 0   492
Senior Notes | Fair Value | Level 2 | 4.250% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 500   500
Senior Notes | Fair Value | Level 2 | 5.450% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 305   308
Senior Notes | Fair Value | Level 2 | 4.200% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value 494   0
Senior Notes | Fair Value | Level 2 | 4.750% Senior Notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Fair Value $ 489   $ 0