Segment Reporting and Information about Geographic Areas - Schedule of Total Revenues and Gross Profit by Reportable Segment (Detail) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2019 |
Sep. 30, 2019 |
Jun. 30, 2019 |
Mar. 31, 2019 |
Dec. 31, 2018 |
Sep. 30, 2018 |
Jun. 30, 2018 |
Mar. 31, 2018 |
Dec. 31, 2019 |
Dec. 31, 2018 |
Dec. 31, 2017 |
|
| Segment Reporting Revenue Reconciling Item [Line Items] | |||||||||||
| Revenues | $ 7,384 | $ 6,303 | $ 6,350 | $ 4,541 | $ 7,226 | $ 6,824 | $ 4,002 | $ 3,409 | $ 24,578 | $ 21,461 | $ 11,759 |
| Gross profit | $ 1,391 | $ 1,191 | $ 921 | $ 566 | $ 1,443 | $ 1,524 | $ 619 | $ 456 | 4,069 | 4,042 | 2,223 |
| Automotive Segment [Member] | |||||||||||
| Segment Reporting Revenue Reconciling Item [Line Items] | |||||||||||
| Revenues | 23,047 | 19,906 | 10,643 | ||||||||
| Gross profit | 3,879 | 3,852 | 1,981 | ||||||||
| Energy Generation and Storage [Member] | |||||||||||
| Segment Reporting Revenue Reconciling Item [Line Items] | |||||||||||
| Revenues | 1,531 | 1,555 | 1,116 | ||||||||
| Gross profit | $ 190 | $ 190 | $ 242 | ||||||||