Financial Instruments - Schedule of Gains and Losses on Investment Securities (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Fair Value Disclosures [Abstract] | ||||
| Realized net gains (losses) on equity securities sold during the period | $ 203 | $ 10 | $ 203 | $ 13 |
| Unrealized net gains (losses) on non-marketable equity securities | (312) | 38 | (972) | 189 |
| Unrealized net gains (losses) on marketable equity securities | 1,727 | (67) | 928 | (170) |
| Total gains (losses) on equity securities in other income (expense), net | 1,618 | (19) | 159 | 32 |
| Unrealized gains (losses) recognized during the period on equity securities still held at the reporting date | 1,415 | (29) | (44) | 19 |
| Non-marketable equity securities accounted for under the measurement alternative | ||||
| Upward adjustments | 0 | 35 | 32 | 190 |
| Downward adjustments (including impairment) | $ (444) | $ 0 | $ (1,117) | $ 0 |