This, to me, implies an extraordinary claim of prophetic insight.
The person who "recognizes" the opportunity is still doing a lot of guesswork, and good luck has as much to do with his recognition of the opportunity as it does anything else.
Networking and having a head start are also key factors--show me a successful tech startup and I'd lay better-than-even odds on the founder(s) coming from a life of (relative) privilege (and also being white, if in America). What could be luckier than being born to the "correct" parents?
You also have to recognize the opportunity and take it. That's what "making your own luck" is all about - exploiting opportunities to their full.