Roche has reached a deal to acquire PathAI, a Boston AI company founded in 2016, in a deal valued at over $1 billion.