In January, the Chinese social media company ByteDance sold a majority stake of its United States subsidiary, which operates the popular TikTok app, to a group of American investors to avoid an outright ban in this country. That may seem like a setback, but, at its new offices in central Shenzhen, designed by Ennead Architects, the company’s spectacular growth is on full display.