A new model that threatens OpenAI and Anthropic could have huge ramifications for global indices, which have soared on the artificial-intelligence trade.