Not much time to capture heat in a flowing drain, many small heat exchangers will be less efficient and more expensive than one large one, very hard to fit in a small space without utilising a compressor, plus additional plumbing - the captured heat pipe would have run all the way back to the water heater, losing heat all the way.