XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash Flows from Operating Activities    
Net income $ 5,549 $ 1,642
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation, amortization and impairment 1,802 1,302
Stock-based compensation 779 1,088
Inventory and purchase commitments write-downs 58 88
Foreign currency transaction net unrealized gain (52) (1)
Non-cash interest and other operating activities 52 60
Digital assets gain, net 106 (78)
Changes in operating assets and liabilities:    
Accounts receivable (233) (283)
Inventory (2,192) (687)
Operating lease vehicles (795) (916)
Prepaid expenses and other current assets (533) (131)
Other non-current assets (1,042) (289)
Accounts payable and accrued liabilities 1,406 1,592
Deferred revenue 648 279
Customer deposits 292 52
Other long-term liabilities 501 47
Net cash provided by operating activities 6,346 3,765
Cash Flows from Investing Activities    
Purchases of property and equipment excluding finance leases, net of sales (3,497) (2,853)
Purchases of solar energy systems, net of sales (5) (22)
Purchases of digital assets   (1,500)
Proceeds from sales of digital assets 936 272
Purchase of intangible assets (9) 0
Purchases of marketable securities (476) 0
Receipt of government grants 0 6
Net cash used in investing activities (3,051) (4,097)
Cash Flows from Financing Activities    
Proceeds from issuances of convertible and other debt 0 4,862
Repayments of convertible and other debt (2,219) (7,408)
Collateralized lease repayments (0) (8)
Proceeds from exercises of stock options and other stock issuances 245 253
Principal payments on finance leases (251) (196)
Debt issuance costs 0 (5)
Proceeds from investments by noncontrolling interests in subsidiaries 0 2
Distributions paid to noncontrolling interests in subsidiaries (76) (65)
Payments for buy-outs of noncontrolling interests in subsidiaries (19) 0
Net cash used in financing activities (2,320) (2,565)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (232) (179)
Net decrease in cash and cash equivalents and restricted cash 743 (3,076)
Cash and cash equivalents and restricted cash, beginning of period 18,144 19,901
Cash and cash equivalents and restricted cash, end of period 18,887 16,825
Supplemental Non-Cash Investing and Financing Activities    
Acquisitions of property and equipment included in liabilities 1,636 1,768
Leased assets obtained in exchange for finance lease liabilities 36 177
Leased assets obtained in exchange for operating lease liabilities $ 445 $ 341