Amid industry layoffs and M&A headlines, Big Pharma's embrace of AI is gaining more steam.