It's been a long long looooong time that android doesn't use a JVM anymore (but a VM with anyway). It's doesn't even really use "java" at all but kotlin
Moreover, it's a long time that VM have more or less same performances as compiled code (with JIT, AOT, etc.)
But you're free to buy an iPhone if you want. Just use the rights reasons (for example: don't compare a new top of line IPhone with an old budget Android phone... there's high-end android phones too, with performances in line with iphones... and same kind of price tags ;-) )