The total value of privately rented homes has nosedived in the past three years, data suggests, as tax and regulation cause some investors to quit.