Equity Incentive Plans - Summary of Stock-Based Compensation Expense (Detail) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
Sep. 30, 2024 |
Sep. 30, 2023 |
|
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | $ 457 | $ 465 | $ 1,420 | $ 1,328 |
| Cost of revenues | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 184 | 181 | 566 | 554 |
| Research and development | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 191 | 189 | 572 | 491 |
| Selling, general and administrative | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | 82 | 95 | 280 | 283 |
| Restructuring and other | ||||
| Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
| Total | $ 0 | $ 0 | $ 2 | $ 0 |