There's a voluminous amount of code and documentation on how to build and run LLMs. You can build your own chatgpt literally in a weekend and run it on a home server, based on publicly available models.
If OpenAI and Anthropic literally evaporated overnight, there would still be Chinese labs training and releasing new models.