Sam Walton was incredibly skilled. Certainly his children are lucky but it is not correct to say that their money was not gained primarily through luck. It was their father's skill that was responsible.
The luck of winning the genetic lottery and being related to someone with skill is still luck. Really, the purest form of luck, since there is absolutely no way you could have any influence over it, unlike most other instances of "luck" which have often have some element of personal choice to at least opt-in to a particular opportunity, even if the outcome once that choice was made had a significant contribution from chance.