A Hong Kong housewife has been sentenced to six years in prison for abusing a young Indonesian worker she kept prisoner in her home.