The carcass of an endangered blue whale, the world's largest animal, washed up on a Namibian beach on Tuesday with lesions suggesting it collided with a ship, scientists said.