About 40 million people were trapped as slaves last year, according to the first joint report by anti-slavery groups.