| Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net loss | - | - | - | - | - | - | -3,069 |
|---|
| Depreciation and amortization | 69 | 143 | 160 | 268 | 414 | 476 | 805 |
|---|
| Expected credit loss expense/(reversal) | - | - | 1 | 9 | 7 | -4 | -1 |
|---|
| Inventory write-downs | - | 1 | 1 | 0 | 22 | 9 | 17 |
|---|
| Impairment on long-term assets | - | - | - | - | 5 | - | 8 |
|---|
| Foreign exchange loss/(gain) | -5 | -2 | -70 | -2 | -41 | 8 | -29 |
|---|
| Share-based Compensation. | 99 | 48 | 29 | 159 | 333 | 334 | 264 |
|---|
| Investment (income)/loss | - | - | - | -17 | -25 | -136 | 60 |
|---|
| (Gain)/Loss on extinguishment of debt | - | - | - | - | 20 | 24 | -1 |
|---|
| Share of (income)/loss of equity investees | - | -9 | -10 | 10 | 55 | 9 | -69 |
|---|
| Amortization of right-of-use assets | - | 75 | 77 | 101 | 166 | 215 | 250 |
|---|
| Loss/(gain) on disposal of property, plant and equipment | -3 | -7 | -20 | -5 | -2 | 1 | -9 |
|---|
| Deferred income tax expense/(benefit) | - | - | - | - | - | 28 | -12 |
|---|
| Prepayments and other current assets | 118 | 8 | -21 | 6 | 180 | -39 | -129 |
|---|
| Inventory | 200 | -82 | 30 | 155 | 907 | -408 | 245 |
|---|
| Other non-current assets | 96 | 35 | -20 | 582 | 268 | -366 | -190 |
|---|
| Amounts due from related parties | - | - | 18 | 227 | -24 | 46 | 819 |
|---|
| Operating lease liabilities | - | 50 | 69 | 118 | 147 | 177 | 246 |
|---|
| Taxes payable | 3 | -1 | 20 | 70 | -50 | 9 | 7 |
|---|
| Trade and notes receivable | - | 98 | -36 | 270 | 334 | -64 | -409 |
|---|
| Trade and notes payable | - | - | - | - | - | - | 646 |
|---|
| Accruals and other liabilities | - | 122 | 128 | 390 | 597 | 257 | 172 |
|---|
| Amounts due to related parties, current | - | - | - | - | - | - | -21 |
|---|
| Amounts due to related parties, non-current | - | - | - | - | - | - | 45 |
|---|
| Other non-current liabilities | 42 | 32 | 62 | 279 | 235 | 212 | 227 |
|---|
| Net cash used in operating activities | -1,151 | -1,253 | 299 | 309 | -561 | -195 | -1,075 |
|---|
| Purchase of property, plant and equipment, land use rights and intangible assets | - | 245 | 173 | 640 | 1,011 | 2,020 | 1,252 |
|---|
| Proceeds from Sale of Property, Plant, and Equipment | - | - | 25 | 0 | 1 | 10 | 32 |
|---|
| Purchase of short-term investments | 1,177 | 316 | 1,164 | 21,077 | 12,705 | 6,183 | 6,296 |
|---|
| Proceeds from maturities of short-term investments | - | - | - | - | - | 6,726 | 6,907 |
|---|
| Purchase of available-for-sale debt investment | - | - | - | 102 | 17 | - | 7 |
|---|
| Proceeds from Sale of Short-term Investments | 427 | 1,041 | 573 | 15,868 | 15,464 | - | - |
|---|
| Acquisitions of equity investees | - | - | - | - | - | - | 54 |
|---|
| Proceeds from disposal of equity investees | - | 11 | - | - | 42 | - | - |
|---|
| Withdrawal of long-term investment | - | - | - | - | - | 2 | - |
|---|
| Purchase of held to maturity debt investments | - | - | - | 204 | 265 | 5 | 2 |
|---|
| Purchase of retained asset-backed securities | - | - | - | - | - | 6 | 17 |
|---|
| Proceeds from maturities of retained asset-backed securities | - | - | - | - | - | 2 | 11 |
|---|
| Net cash provided by /(used in) investing activities | -1,155 | 486 | -777 | -6,240 | 1,506 | -1,533 | -679 |
|---|
| Proceeds from Stock Options Exercised | 6 | 7 | 24 | 23 | 11 | 12 | 15 |
|---|
| Capital withdrawal by non-controlling interests | - | - | - | 0 | 0 | 0 | 0 |
|---|
| Distributions to non-controlling interests | - | - | - | - | 5 | - | - |
|---|
| Capital injection from redeemable non-controlling interests | - | - | 766 | - | - | - | 451 |
|---|
| Proceeds from Convertible Debt | - | 621 | 462 | - | - | 1,144 | - |
|---|
| Repurchase of convertible senior notes | - | - | - | - | - | 477 | 452 |
|---|
| Proceeds from Issuance of Debt | 388 | 198 | 246 | 959 | 1,003 | 1,129 | 1,263 |
|---|
| Repayments of borrowings from third parties | - | - | 148 | 382 | 1,240 | 859 | 1,029 |
|---|
| Principal payments on finance leases | - | 6 | 7 | 5 | 4 | 5 | 5 |
|---|
| Proceeds from Issuance of Common Stock | 1,095 | - | 5,304 | 1,989 | - | 2,952 | - |
|---|
| Net cash (used in)/provided by financing activities | 1,688 | 445 | 6,338 | 2,845 | -234 | 3,896 | 243 |
|---|
| Proceeds from Noncontrolling Interests | 184 | - | - | - | - | - | - |
|---|
| Effects of exchange rate changes on cash, cash equivalents and restricted cash | -8 | 1 | -105 | -79 | -18 | 10 | 22 |
|---|
| NET INCREASE/(DECREASE) IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH | -626 | -321 | 5,756 | -3,165 | 693 | 2,178 | -1,490 |
|---|
| Fair Value of Assets Acquired | - | 161 | 115 | 229 | 605 | 626 | 531 |
|---|
| Conversion of convertible senior notes to ordinary shares | - | - | 607 | 682 | 32 | - | - |
|---|
| Exchange of Convertible Securities with Cancellation of Treasury Shares | - | - | - | - | - | - | 124 |
|---|
| Accretion on redeemable non-controlling interests to redemption value | - | - | - | 1,034 | 41 | 43 | 48 |
|---|
| Adjustments To Additional Paid In Capital, Settlement Of Options | - | - | - | 290 | - | - | 97 |
|---|
| Interest paid | 16 | 37 | 51 | 34 | 40 | 40 | 88 |
|---|
| Income taxes paid | 2 | 3 | 2 | 1 | 11 | 5 | 9 |
|---|