A race whipsawed by unprecedented events – two assassination attempts against Trump, President Joe Biden’s surprise withdrawal and Harris’ rapid rise – remained too close to call, even after billions of dollars in spending and months of frenetic campaigning.