What if the a group of 50 electors for the winning candidate were murdered by terrorists a week before they cast their ballots. The result would be no electoral majority. Would the Supreme Court intervene, or would the election be sent to Congress?
Under the Constitution, the states define their method of appointing electors. Most (all?) states have a method for filling vacancies, including electors not being able to get to the meeting location in their state. Generally, the other electors choose replacements. I think there were some electors in Minnesota that were not able to get to St Paul to cast their electoral vote in 2000, and they were replaced.