Cal Tech is insanely impressive - congrats.
But here’s the thing - if you can’t afford either, that’s not good.
Then what?
You might need to find a lower cost alternative and they’re likely out there depending on your GPA/test scores.
That said, they don’t hold any prestige whatsoever but they would still get you to med school.
Caltech is so amazing and you’re unconcerned with social life that I hope it works out for you.
Cornell is way over budget so you cannot consider it.
Good luck.