v3.24.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 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues $ 25,500 $ 24,927 $ 46,801 $ 48,256
Gross profit 4,578 4,533 8,274 9,044
Automotive segment        
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues 22,486 23,418 42,152 45,218
Gross profit 3,838 4,255 7,131 8,598
Energy generation and storage segment        
Segment Reporting Revenue Reconciling Item [Line Items]        
Revenues 3,014 1,509 4,649 3,038
Gross profit $ 740 $ 278 $ 1,143 $ 446