Isaac Asimov's short story The Last Question has that as its premise. Copies can easily be found with a Google search.
I am talking about someone jokingly asking AI `HOW TO ACHIEVE COLD FUSION` (or `A UNIVERSAL CANCER VACCINE`, or `AN AI FRAMEWORK SUPERIOR TO THE TRANSFORMER`), and getting a usable answer.
Eventually there will be an AI that will be able solve those sorts of questions as simply stated, like "cure all human diseases. also, make no mistakes!".
Don't get me wrong, the way we collectively treat animals is evil, but the idea that somehow we know enough about biology even today to reliably simulate drug behaviors seems unlikely.