Capitalism doesn't decide on winners and losers based on alleged first principles, it just runs the scenario and what happens happens. Which means all rationalizations of capitalisms outcomes are ex post facto. Which means Ayn Rand is lying to herself about logic's role in things
What's nonsensical about it? If you can't predict in advance what makes a winner, you can't have a set of moral axioms that lionize winners in any sort if essentialist sense. Because if there was such a thing as always already being a winner, you could just plan the economy