A Chinese competitor capable of rivaling OpenAI at a fraction of the cost while keeping its models open source has tech investors in panic mode.