The Supreme Court has ruled to reinstate a Trump-era rule to curtail states and Native American tribes from blocking pipelines and other energy projects that can pollute waterways.