Warming waters have driven thousands of ocean species poleward from the equator, threatening marine ecosystems and the livelihoods of people who depend on them.