Not a teacher, I think, He washed his clothes with washing machine is correct. I am not sure, but generally we donít use "by" when the doer is non-living.
We write "with" pen, not "by" pen.
Wait for teachers.
- For Teachers