Ugh if you don't understand BASIC p&l concepts, do yourself a favor and put your money in a bank earning 0.2%
The only way they are going to make money on $17mil in inventory is to sell it for substantially more than $17mil.
This company is giving away their product. They have no price leverage.. Either they boost the sales of their own handsets ASAP or somehow reach economy of scale that allows them to eek out some margin.