Authorities rescued 163 workers living in inhumane conditions, prompting BYD to sever ties with its construction partner.