Related Party Transactions - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
May 31, 2022 |
May 31, 2021 |
May 31, 2022 |
May 31, 2021 |
|
Corporate Joint Venture | ||||
Related Party Transaction [Line Items] | ||||
Purchases from joint ventures | $ 10 | $ 6 | $ 21 | $ 14 |