Segment and Geographical Information - Schedule of Property and Equipment (Details) - USD ($) $ in Millions |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | $ 92,191 | $ 69,964 |
| United States | ||
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | 76,334 | 55,497 |
| Rest of the world | ||
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | $ 15,857 | $ 14,467 |