The United Nations has accused Israel of implementing "apartheid" in the West Bank and "stifling" the rights of Palestinians.