Does typecasting ruins one's career in the film industry?

I was watching Superman with Christopher Reeve the other night and was thinking no matter what other films Reeve had a role in, he always be seen as a superman and a role that he did not escaped from.

Other example would be the Star Trek Tv series where the lead charactors such as Shatner and Nimoy where after the Tv series, they did not get any other leading parts except in Star Trek movies. And there are counless other examples.

Ofcourse some did broke the typecasting roles such as Schwarzenegger where he was associated with Terminator films, by playing comdey roles. Or Next Generation actor Patrick Stewart who was the enterprise captain, but he established himself in many other roles.