Segment and Geographical Information - Schedule of Property and Equipment (Details) - USD ($) $ in Millions |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | $ 69,964 | $ 54,981 |
| United States | ||
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | 55,497 | 43,128 |
| Rest of the world | ||
| Long-Lived Assets, by Geographical Area [Line Items] | ||
| Long-lived assets | $ 14,467 | $ 11,853 |