The court will take up a case alleging the companies deceived the public about how fossil fuels contribute to climate change.