When buying mining stuff you have already invested in both mining and hardware.
Good thing is that people are selling these stuff and making a good profit(sometimes much better than mining). Honestly I'm not doing both of them at a time. I will invest into some highly established altcoins alone. Because in my understanding, mining will be requiring more capital compared to investing into altcoins.