Cash and Investments (Details) - USD ($) $ in Millions |
Aug. 31, 2023 |
Sep. 01, 2022 |
Sep. 02, 2021 |
Sep. 03, 2020 |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | $ 8,577 | $ 8,262 | ||||||||||
| Short-term Investments | 1,017 | 1,069 | ||||||||||
| Long-term Marketable Investments | [1] | 844 | 1,647 | |||||||||
| Total Fair Value | 10,438 | 10,978 | ||||||||||
| Restricted cash | [2] | 79 | 77 | |||||||||
| Cash, cash equivalents, and restricted cash | $ 8,656 | 8,339 | $ 7,829 | $ 7,690 | ||||||||
| 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 | $ 5,771 | 6,055 | ||||||||||
| Short-term Investments | 0 | 0 | ||||||||||
| Long-term Marketable Investments | 0 | 0 | ||||||||||
| Total Fair Value | 5,771 | 6,055 | ||||||||||
| Money market funds | Level 1 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [3] | 1,629 | 1,196 | |||||||||
| Short-term Investments | [3] | 0 | 0 | |||||||||
| Long-term Marketable Investments | [1],[3] | 0 | 0 | |||||||||
| Total Fair Value | [3] | 1,629 | 1,196 | |||||||||
| Certificates of deposit | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 1,172 | 976 | |||||||||
| Short-term Investments | [4] | 25 | 50 | |||||||||
| Long-term Marketable Investments | [1],[4] | 0 | 0 | |||||||||
| Total Fair Value | [4] | 1,197 | 1,026 | |||||||||
| Corporate bonds | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 0 | 0 | |||||||||
| Short-term Investments | [4] | 737 | 759 | |||||||||
| Long-term Marketable Investments | [1],[4] | 437 | 995 | |||||||||
| Total Fair Value | [4] | 1,174 | 1,754 | |||||||||
| Asset-backed securities | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 0 | 0 | |||||||||
| Short-term Investments | [4] | 15 | 20 | |||||||||
| Long-term Marketable Investments | [1],[4] | 387 | 608 | |||||||||
| Total Fair Value | [4] | 402 | 628 | |||||||||
| Government securities | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 5 | 2 | |||||||||
| Short-term Investments | [4] | 131 | 155 | |||||||||
| Long-term Marketable Investments | [1],[4] | 20 | 44 | |||||||||
| Total Fair Value | [4] | 156 | 201 | |||||||||
| Commercial paper | Level 2 | ||||||||||||
| Debt Securities, Available-for-sale [Line Items] | ||||||||||||
| Cash and Equivalents | [4] | 0 | 33 | |||||||||
| Short-term Investments | [4] | 109 | 85 | |||||||||
| Long-term Marketable Investments | [1],[4] | 0 | 0 | |||||||||
| Total Fair Value | [4] | $ 109 | $ 118 | |||||||||
| ||||||||||||