v3.22.2.2
Segment Reporting and Information about Geographic Areas - Schedule of Total Revenues and Gross Profit by Reportable Segment (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues $ 21,454 $ 13,757 $ 57,144 $ 36,104
Gross profit 5,382 3,660 15,076 8,759
Automotive Segment [Member]        
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues 20,337 12,951 54,545 34,003
Gross profit 5,278 3,657 14,947 8,837
Energy Generation and Storage [Member]        
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues 1,117 806 2,599 2,101
Gross profit $ 104 $ 3 $ 129 $ (78)