When I buy a stock or invest in some company, I'm taking a risk. That risk is a type of production - it requires me to think and make decisions. Obviously, I can lose in an investment. So, yes, it is a productive activity.
The sort of thing people in the second quintile used to do has evaporated.