Global warming (incorrect): We wasted some fraction of human time and resources implementing carbon capture that wasn't necessary. Minor economic hit compared to the counterfactual situation where global warming was never considered.
Global warming (correct): We prevented the collapse of the planet's climate and the ensuing death of most living creatures.
AI will take our jobs (incorrect): We wasted time unnecessarily preparing for a paradigm shift in employment that never happened. Universal basic income was implemented which led to a small positive/negative change in worldwide economic productivity.
AI will take our jobs (correct): UBI was never implemented. A feedback loop emerged where almost all wealth siphoned quickly to a few individuals. The reward mechanism that incentivized the general population to work broke, and hasty attempts by the government to implement a "fair" system of resource distribution among the now "economically worthless" population failed and led to mass supply chain failure, worldwide mental instability, and societal collapse.
Even if you consider the probability of the latter scenarios to be something like 1%, I would argue they are still worth wasting human time and resources on.