I can't speak to the legality but for my rental property, I would insist the tenant pays for the DW and installation by my chosen contractor.
The tenant would get the DW. My property value goes up and control the quality of the work.
Win, win, win.
Re: DWs
The Princess has repeatedly stated "Dishwashers are wonderful things."
My brother has insisted no DWs or garbage disposals! He maintains our stuff and had seen too many cases of idiots destroying them.
Ben insists The Princess take care of the DW. Cleaning and fixing DWs is nasty work.
Ben