An ingestible sensor that allows doctors to remotely monitor tuberculosis patients’ intake of medication has the potential to save millions of lives and revolutionise treatment for the world’s most deadly infectious disease, researchers said.