It's much more effective to work on limiting transmission than to treat infected patients to reduce deaths. We have TB vaccines and know how to prevent sick people from infecting others. We have been able to effectively eradicate the disease from rich countries, to the point where vaccination is no longer recommended for the general population in them.
Sure, there is probably something to be gained on TB drugs, but preventing the millions of death doesn't require a miracle cure, just allowing poorer populations to do what richer populations have already done.