There doesn't seem to be many surveys of the general population on doom type scenarios. Most of them seem to be based on bias/weapons type scenario. You could look at something like metaculus but I don't think that's representative of the general population.
Here's a breakdown of AI researchers: https://aiimpacts.org/2022-expert-survey-on-progress-in-ai/ (median /mean of extinction is 5%/14%)
US Public: https://governanceai.github.io/US-Public-Opinion-Report-Jan-2019/general-attitudes-toward-ai.html (12% of americans think it will be "extremely bad i.e extinction)
Based on the very weak data above, it doesn't seem like a huge divergence of opinion specifially for x-risk
Anecdotally this feels very true. Those outside of the AI community feel way more optimistic than those I know who work in AI. The general population who are aware of GPT and LLM's seem way too optimistic. When I talk to people about an AGI capabilities moratorium, AI researchers are way more likely to agree than those not working in AI.
Link to claim.
I've seen this claim before but I haven't seen any direct data supporting it. Does anyone have any resources?