A mass extinction once replaced giant fish with tiny ones—and it could be happening all over again