Lexx
The Lexx ages several thousand years during the run of the series, and in later seasons its advanced age and decrepitude following millennia of starvation and neglect lead to it becoming increasingly unstable. In the final episode of the series, Lexx dies, giving birth to a smaller, very Lexx-like ship, the result of a brief union with an insect from Earth. The new ship, dubbed "Little Lexx" by Stan and Xev, imprints upon Stan when he tells it that he is its captain. This causes Little Lexx's key, blue instead of Lexx's yellow, to bind with Stan's right hand.
http://en.wikipedia.org/wiki/Lexx