Obito was killed by Sasuke, because Danzou was Obito. Tobi is not Obito nor Danzou, is another person. Proofs:
PD: Please, be merciful with me for this XDDDDDDDDDDDDDDDD.
You must be registered for see images
PD: Please, be merciful with me for this XDDDDDDDDDDDDDDDD.