Cash and Investments (Details) - USD ($) $ in Millions |
May 30, 2024 |
Aug. 31, 2023 |
Jun. 01, 2023 |
Sep. 01, 2022 |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | $ 7,594 | $ 8,577 | ||||||||||
| Short-term Investments | 785 | 1,017 | ||||||||||
| Long-term Marketable Investments | [1] | 775 | 844 | |||||||||
| Total Fair Value | 9,154 | 10,438 | ||||||||||
| Restricted cash | [2] | 70 | 79 | |||||||||
| Cash, cash equivalents, and restricted cash | $ 7,664 | 8,656 | $ 9,370 | $ 8,339 | ||||||||
| Minimum | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Debt Securities, Available-for-sale, Term, Noncurrent | 1 year | |||||||||||
| Maximum | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Debt Securities, Available-for-sale, Term, Noncurrent | 5 years | |||||||||||
| Cash | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | $ 6,355 | 5,771 | ||||||||||
| Short-term Investments | 0 | 0 | ||||||||||
| Long-term Marketable Investments | 0 | 0 | ||||||||||
| Total Fair Value | 6,355 | 5,771 | ||||||||||
| Money market funds | Level 1 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [3] | 570 | 1,629 | |||||||||
| Short-term Investments | [3] | 0 | 0 | |||||||||
| Long-term Marketable Investments | [1],[3] | 0 | 0 | |||||||||
| Total Fair Value | [3] | 570 | 1,629 | |||||||||
| Certificates of deposit | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 554 | 1,172 | |||||||||
| Short-term Investments | [4] | 6 | 25 | |||||||||
| Long-term Marketable Investments | [1],[4] | 0 | 0 | |||||||||
| Total Fair Value | [4] | 560 | 1,197 | |||||||||
| Corporate bonds | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 0 | 0 | |||||||||
| Short-term Investments | [4] | 454 | 737 | |||||||||
| Long-term Marketable Investments | [1],[4] | 418 | 437 | |||||||||
| Total Fair Value | [4] | 872 | 1,174 | |||||||||
| Asset-backed securities | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 0 | 0 | |||||||||
| Short-term Investments | [4] | 42 | 15 | |||||||||
| Long-term Marketable Investments | [1],[4] | 337 | 387 | |||||||||
| Total Fair Value | [4] | 379 | 402 | |||||||||
| Commercial paper | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 56 | 0 | |||||||||
| Short-term Investments | [4] | 130 | 109 | |||||||||
| Long-term Marketable Investments | [1],[4] | 0 | 0 | |||||||||
| Total Fair Value | [4] | 186 | 109 | |||||||||
| Government securities | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 59 | 5 | |||||||||
| Short-term Investments | [4] | 153 | 131 | |||||||||
| Long-term Marketable Investments | [1],[4] | 20 | 20 | |||||||||
| Total Fair Value | [4] | $ 232 | $ 156 | |||||||||
| ||||||||||||