A quarter of a billion years ago, rising temperatures emptied the oceans of life. The planet now faces a similar threat, but the outcome is in human hands.