ExxonMobil's bid to dismiss a lawsuit claiming that it misled investors about the impact of climate change on its business has been denied by a Texas court.