Donald Trump is projected to have won the first two of the seven swing states to be declared - narrowing Kamala Harris's routes to the White House.