Lời giải:
Từ điều kiện đề bài suy ra $\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=\frac{1}{x+y+z}$
$\Leftrightarrow \frac{x+y}{xy}+\frac{1}{z}-\frac{1}{x+y+z}=0$
$\Leftrightarrow \frac{x+y}{xy}+\frac{x+y}{z(x+y+z)}=0$
$\Leftrightarrow (x+y)\left[\frac{1}{xy}+\frac{1}{z(x+y+z)}\right]=0$
$\Leftrightarrow (x+y).\frac{z(x+y+z)+xy}{xyz(x+y+z)}=0$
$\Leftrightarrow (x+y).\frac{(z+x)(z+y)}{xyz(x+y+z)}=0$
$\Rightarrow (x+y)(y+z)(x+z)=0$
Do đó: $M=\frac{x+y}{z}.\frac{x+z}{y}.\frac{y+z}{x}=\frac{(x+y)(y+z)(x+z)}{xyz}=\frac{0}{xyz}=0$