Even though on-device AI will require more RAM, the iPhone 16 and Galaxy S24 will not have more RAM than their predecessors.