As tech titans warned an AI-weary world that their own advanced systems could endanger humanity, the question emerged: What do they have to gain?

The answer may lie in the companies’ efforts to score political goals ahead of the U.S. midterm elections and the money top artificial intelligence labs and their investors stand to make in much-anticipated listings on a jittery stock market.

The CEOs of Anthropic and OpenAI recently declared America’s cutting-edge models are so powerful, they’re dangerous, and need to be regulated and independently tested before being released. In a rare instance of unity, they have sketched alarming scenarios in essays, social media posts and speeches to the United Nations.

Along the way, they are shaping the conversation around how their technology should be controlled. With their rhetoric, the companies appear to be seeking public favor and to set the terms for their own safety protocols in the unregulated market, experts, analysts and former government evaluators told The Associated Press.