I don’t think RAM on phones has been increasing exponentially? For good reason — it uses a lot of power.
RAM hasn't been increasing as steeply as it could, but if there's a strong use-case for it, it may happen. Also consider that Apple is in control of the whole chipset and software, so they could implement things like turning the extra RAM on only during ML computation.