Biden was elected VP.
Who was elected president? The eligible candidate with a majority of valid electoral votes - McCain.
Voting in the EC is not by ticket. The P and VP are voted on separately.
In the end, if it comes to that, it will probably be a SCOTUS decision.
Who knows what they'd do. But my money would be on President Biden.