An artificial intelligence researcher has quit Anthropic, accusing the company and OpenAI of “gambling with our lives.”