Computers are learning to diagnose diseases. In a recent book, the economists Erik Brynjolfsson and Andrew McAfee describe these recent advances as examples of the beginning of what they call “the second machine age.”