While it is technically possible for that to happen, the probability of the intricacies that make up the iphone's circuits and screen, the chemicals that make up the battery, etc, assembling themselves into a complete and working phone, even on an infinite timeline, is not that high. And it could, in theory, never actually happen, since if there is still time that you can move forward into, there's still the chance that the moment the iphone assembles itself into a working phone lies somewhere in the future, and always will. It could just never happen before the heat death of the universe.
Possibility does not guarantee probability.