Chinese hackers gained access to personal data about thousands of British soldiers, sailors, and air force members, according to a new report.