Investing in the shares of individual companies is risky but it can be hugely rewarding if you pick the right stock.