XML 20 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net loss $ (2,544) $ (3,305)
Depreciation and amortization 411 279
Stock-based compensation expense 364 559
Inventory write-downs and losses on firm purchase commitments 220 301
Other non-cash activities 7 63
Changes in operating assets and liabilities:    
Accounts receivable, net (239) (37)
Inventory (1,190) (620)
Other current assets (44) 18
Other non-current assets (38) (19)
Accounts payable and accrued liabilities 16 421
Other current liabilities 53 70
Other non-current liabilities 102 32
Net cash used in operating activities (2,882) (2,238)
Cash flows from investing activities:    
Purchase of short-term investments (938) 0
Capital expenditures (538) (777)
Net cash used in investing activities (1,476) (777)
Cash flows from financing activities:    
Proceeds from issuance of capital stock including employee stock purchase plan 37 58
Proceeds from issuance of convertible notes 1,485 0
Other financing activities (5) (2)
Net cash provided by financing activities 1,517 56
Effect of exchange rate changes on cash and cash equivalents 2 (1)
Net change in cash (2,839) (2,960)
Cash, cash equivalents, and restricted cash—Beginning of period 12,099 18,423
Cash, cash equivalents, and restricted cash—End of period 9,260 15,463
Supplemental disclosure of non-cash investing and financing activities:    
Capital expenditures included in liabilities 338 358
Capital stock issued to settle bonuses 137 0
Right-of-use assets obtained in exchange for operating lease liabilities $ 27 $ 84