v3.24.1.u1
Segment Reporting and Information about Geographic Areas - Schedule of Total Revenues and Gross Profit by Reportable Segment (Detail) - USD ($)
$ in Millions
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Segment Reporting Revenue Reconciling Item [Line Items]    
Revenues $ 21,301 $ 23,329
Gross profit 3,696 4,511
Automotive segment    
Segment Reporting Revenue Reconciling Item [Line Items]    
Revenues 19,666 21,800
Gross profit 3,293 4,343
Energy generation and storage segment    
Segment Reporting Revenue Reconciling Item [Line Items]    
Revenues 1,635 1,529
Gross profit $ 403 $ 168