Candidates that have offers from other companies that didn't ask them for homework will probably go for these companies first. We scheduled 8 people for interviews last week and 2 of them dropped out before their scheduled interview times because they took jobs elsewhere. Unless you're a top-tier tech employer, you don't have the luxury of asking candidates to do leg work.
These assignments are tasks that are no way could be used in production, at better places these are even paid assignments. I've seen more than one ad like that.
Small companies do it here (Europe), not sure about the US. I would happily do the leg work if I really dig the company. If they drop out from the queue, they probably prioritized you lower, not a big loss.
A friend of mine got absolutely amazing task from one company: write and publish on github extension to LLVM. It was some really simple language, nothing practical, but this whole task tests so much skills so my friend was really enjoyed doing it.