Computers as we know them today won't exist in the same form in 20 years, they'll primarily be powered by smart phones. But don't come back in 20 years and call this event and whatever successful company to profit on this "lucky"... it's just, who is going to execute upon this vision to make it happen? That's exactly what Apple did with tablets. They saw the future as it should be and executed upon that vision.
I think you give Apple a bit too much credit, they did well with the iPad, they did poorly with the Lisa 2 and the Newton and X-Serve. Product development from concept to product takes years. Someone can predict what they think will happen, and they can plan for it (which they do) but whether or not what they think will happen is what actually happens is controlled by forces they cannot control.
There is luck involved with being successful, but there is also an ability to push it through. The recent comments by Bill Gates about how Microsoft did tablets way before Apple did, but they didn't have the design vision for them he did is a great example of that. I don't think the iPad would have been successful without its design, and that design wasn't "luck" it was deliberate. But the other parts of the equation were lucky (things like the PC market fading)