ways to earn from dividend stock vs real estate