An Indian woman allegedly kept as a slave in a suburban Melbourne home for eight years weighed just 40 kilograms when paramedics discovered her in a pool of her own urine, a court has been told.