Companies, including Meta, have been investing heavily to build and train large language models (LLMs) such as ChatGPT, which are advanced AI systems designed to understand and generate human-like text.