Trashing is very difficult for AI. The Goko bots don't do it particularly well and Geronimoo's simulator has some problems too. With an apprentice in a big money deck you will typically trash out the estates but then get choices of gold/apprentice/silver/copper to trash, difficult choices based on the quality of the rest of the deck and the progress through the game. The AI does not attempt to evaluate that and just evaluates the cards in hand, typically resulting in the trashing of a silver for +3 cards. Without an extra buy or apprentices trashing apprentices, the apprentice will be quite poor in big money anyway.
If you think that trashing is difficult AI, playing a warehouse with a bishop (say) in hand creates some intensely difficult AI decisions.