It is not money leaving the company. When the IPO happens it converts into equity. If anything, the size of it is a good sign.
You can still be amazed by the 8B$ loss (which up until about 3 years ago was considered a lot of dollars!) but please interface with reality.