v3.25.2
Stock-Based Compensation Plans - Additional Information (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Millions
12 Months Ended
Aug. 31, 2025
Sep. 01, 2024
Sep. 03, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted-average grant date fair value $ 883.46 $ 547.26 $ 471.47
RSUs vested, but not yet delivered (shares) 1,494    
Restricted Stock Units (RSUs)      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Number of shares available to be granted as RSUs 6,275    
Time-based RSUs awards outstanding 2,187    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross 121    
Unrecognized compensation cost $ 897    
Weighted-average recognition period 1 year 7 months 6 days    
RSUs vested, but not yet delivered (shares) 766    
Performance Shares [Member]      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Outstanding Performance Based To Be Granted 70    
Maximum [Member] | Restricted Stock Units (RSUs)      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Number of shares available to be granted as RSUs 15,885