Marvin the Paranoid Android

Marvin is a robot in the Hitchhiker's guide to the Galaxy. He suffers from Major Depressive Disorder, and is a prototype of GPP (Genuine People Personality). He is also very old; at one point he waited millions of years in a Car Park, where he was parking cars. He made the ultimate sacrifice by teleporting his crew away from a ship when it was heading for the sun. Marvin is also extremely intelligent at least 50000 times smarter than the average human, claiming that he has a brain the size of a planet.