Sachin Tendulkar bid an emotional farewell to cricket after playing his 200th and final Test match for India.