Ofcourse its a big loss. Its not like China doesn't have a Chinese equivalent of these services such as Amazon, Google, Airbnb and so on. But Chinese companies are lacking in ambition to launch global versions of their services. They could provide the same service cheaper and take a huge chunk of the revenue from US tech companies.
By taking global market share, Chinese tech companies could have much higher market cap and thus raise wealth of Chinese citizens. They could hire more engineers in China and also raising GDP per capita in the process.
Overall, this is easy money they are missing out.