madara had to give nagato the rinnegan since it is the only known way to unlock it and it's a evolution from the sharingan,usually when tobi says something he twists the truth but he usually the main point is right.
Usually when you are about to die when you have a dojutsu it would turn off or...