But I don't think the examples you chose are very good. It's not "stocks appreciating", it's "$1m in stocks appreciating at 9%". The stocks are not an actor in that sentence. "$1m in stocks" is a thing that is having appreciation done to it.
If I had written a self-contained clause saying "stocks appreciate", that would have been a good example. But that's not what I wrote.