This joke is using the word "croak" to refer to both dying and the sound a frog makes, within context of removing a frog's vocal cords to make them immortal. 
Biologists have recently produced immortal frogs by removing their vocal cords . They can ' t croak .