iOS devices are not toys, and even if they were there is value in toys, and even if there weren’t it is provably false that “nobody wants those”.
Furthermore, if Google dropped Android it is misguided to believe “the FOSS community” would handle it and everything would be roses. What you’d have then are a couple of hardware vendors (like Samsung) publishing their own forks and dozens of different incompatible open-source versions that would get no traction.