Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | $ 12,396,805 | $ 12,170,231 |
| Less accumulated depreciation and amortization | 7,016,112 | 6,668,937 |
| Total property, plant and equipment | 5,380,693 | 5,501,294 |
| Land and land improvements | ||
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | 498,013 | 490,418 |
| Buildings | ||
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | 1,487,578 | 1,505,368 |
| Machinery and equipment | ||
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | 8,831,931 | 8,750,348 |
| Computer software, office equipment and other | ||
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | 828,897 | 570,834 |
| Construction in progress | ||
| Property, Plant, and Equipment [Line Items] | ||
| Gross property, plant and equipment | $ 750,386 | $ 853,263 |
| X | ||||||||||
- Definition Amount of accumulated depreciation, depletion, and amortization of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|