Counter anecdata: I am taking a CS doctorate degree, and have never been asked to work for free, and never been cheated out of course time to work on what the professor thinks is interesting.
I think the lab-heavy (i.e. non-digital) programs have this problem more. When I was in grad school, I knew plenty of chemistry students who were expected to work 6 days a week.