Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
May 31, 2021 |
May 31, 2020 |
|
| Leases [Abstract] | ||
| Operating cash flows paid for operating leases | $ 2,750 | $ 2,608 |
| Operating cash flows paid for interest portion of finance leases | 16 | 14 |
| Financing cash flows paid for principal portion of finance leases | 75 | 84 |
| Right-of-use assets obtained in exchange for new operating lease liabilities | 3,703 | 1,915 |
| Right-of-use assets obtained in exchange for new finance lease liabilities | $ 126 | $ 484 |
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|