Will a competitor beat them in two years? It's possible, but I expect Apple to keep their lead for a while. CPU-wise, the iPhone has been well ahead of competitors for several years (even as other specs like memory lag behind), and no one else appears to be making serious inroads in this space.