Homeowners and others looking to gain real-estate exposure aren’t getting the diversification they expect, research shows.