Voters have elected two black women to serve simultaneously in the US Senate for the first time and sent an openly transgender politician to Congress.