XML 20 R9.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash Flows from Operating Activities    
Net income $ 1,642 $ 197
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation, amortization and impairment 1,302 1,120
Stock-based compensation 1,088 558
Inventory and purchase commitments write-downs 88 88
Foreign currency transaction net (gain) loss 1 (38)
Non-cash interest and other operating activities 60 216
Digital assets gain, net (78) 0
Changes in operating assets and liabilities, net of effect of business combinations:    
Accounts receivable (283) (236)
Inventory (687) (535)
Operating lease vehicles (916) (330)
Prepaid expenses and other current assets (131) (301)
Other non-current assets (289) (16)
Accounts payable and accrued liabilities 1,592 (372)
Deferred revenue 279 (20)
Customer deposits 52 5
Other long-term liabilities 47 112
Net cash provided by operating activities 3,765 524
Cash Flows from Investing Activities    
Purchases of property and equipment excluding finance leases, net of sales (2,853) (1,001)
Purchases of solar energy systems, net of sales (22) (46)
Purchases of digital assets (1,500) 0
Proceeds from sales of digital assets 272 0
Receipt of government grants 6 1
Net cash used in investing activities (4,097) (1,046)
Cash Flows from Financing Activities    
Proceeds from issuances of common stock in public offerings, net of issuance costs 0 2,309
Proceeds from issuances of convertible and other debt 4,862 4,946
Repayments of convertible and other debt (7,408) (4,226)
Collateralized lease repayments (8) (168)
Proceeds from exercises of stock options and other stock issuances 253 217
Principal payments on finance leases (196) (154)
Debt issuance costs (5) 0
Proceeds from investments by noncontrolling interests in subsidiaries 2 19
Distributions paid to noncontrolling interests in subsidiaries (65) (110)
Payments for buy-outs of noncontrolling interests in subsidiaries 0 2
Net cash (used in) provided by financing activities (2,565) 2,831
Effect of exchange rate changes on cash and cash equivalents and restricted cash (179) 14
Net (decrease) increase in cash and cash equivalents and restricted cash (3,076) 2,323
Cash and cash equivalents and restricted cash, beginning of period 19,901 6,783
Cash and cash equivalents and restricted cash, end of period 16,825 9,106
Supplemental Non-Cash Investing and Financing Activities    
Acquisitions of property and equipment included in liabilities 1,768 668
Leased assets obtained in exchange for finance lease liabilities 177 54
Leased assets obtained in exchange for operating lease liabilities $ 341 $ 187