v3.24.2
Segment Reporting and Information about Geographic Areas - Schedule of inventory and accounts receivable by reportable segment (Detail) - USD ($)
$ in Millions
Jun. 30, 2024
Dec. 31, 2023
Segment Reporting Information [Line Items]    
Inventory $ 14,195 $ 13,626
Automotive    
Segment Reporting Information [Line Items]    
Inventory 12,192 11,139
Energy generation and storage segment    
Segment Reporting Information [Line Items]    
Inventory $ 2,003 $ 2,487