The air’s usual O2 concentration is ~20.5% and it looks like safety monitors trigger at 19.5% and 18%: https://www.pureairemonitoring.com/all-categories-gas-monito...
Helium makes up less than 0.0005% of air naturally. I’m guessing that increasing He concentration 1000 times to 0.5%, for example, is enough to cause problems for iPhones, but not enough to trigger the alarm or pose any danger to people.