Property, plant and equipment - Property, Plant and Equipment at Cost and Accumulated Depreciation (Details) - USD ($) $ in Millions |
Dec. 28, 2025 |
Dec. 29, 2024 |
|---|---|---|
| Property, Plant and Equipment [Line Items] | ||
| Total property, plant and equipment, gross | $ 54,364 | $ 48,768 |
| Less accumulated depreciation | 31,195 | 28,250 |
| Total property, plant and equipment, net | 23,169 | 20,518 |
| Land and leasehold improvements | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property, plant and equipment, gross | 701 | 718 |
| Building and building equipment | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property, plant and equipment, gross | 13,429 | 12,317 |
| Machinery and equipment | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property, plant and equipment, gross | 32,873 | 29,444 |
| Construction in progress | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property, plant and equipment, gross | $ 7,361 | $ 6,289 |