v3.19.3.a.u2
Quarterly Results of Operations - Schedule of Selected Quarterly Results of Operations (Detail) - USD ($)
$ / shares in Units, $ 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
Quarterly Financial Data [Abstract]                      
Total 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
Net (loss) income attributable to common stockholders $ 105 $ 143 $ (408) $ (702) $ 140 $ 311 $ (718) $ (709) $ (862) $ (976) $ (1,962)
Net (loss) income per share of common stock attributable to common stockholders, basic $ 0.58 $ 0.80 $ (2.31) $ (4.10) $ 0.81 $ 1.82 $ (4.22) $ (4.19)      
Net (loss) income per share of common stock attributable to common stockholders, diluted $ 0.56 $ 0.78 $ (2.31) $ (4.10) $ 0.78 $ 1.75 $ (4.22) $ (4.19)