Telecoms firm Ericsson put contractors' lives at risk, according to a leaked company report seen by the BBC.