AI’s memory crunch just killed a phone. Even Apple flinched.