The Republican finishes the US presidential election with 312 electoral college votes, compared with Kamala Harris's 226.