Your right. Usually the tire would lose grip before it got pulled off the rim.
(Wow, I can't believed i sparked an intelligent conversation and
used 3 big words in one sentance! )
There should be a max tire flex before the tire blows or gets ripped off the rim or something.
As you can presume from the picture below, there currently isn't.