Many under the age of 40 are looking at real estate as a means to generate income rather than looking for their own home to live in, a new survey shows.