Researchers have developed a new type of three-dimensional “brain on a chip” that possibly can quickly detect tiny quantities of disease-causing bacteria.