Setting aside the article's mention of moderately intensive solutions like natural gas which has a very real and obvious cost per KWH, your panels will still need maintenance and eventual replacement (the current industry standard lifetime for a panel is 25-30 years), as will any peripheral systems required for the panels to work (batteries etc) and even the space they take up has an associated opportunity cost.
Marginal cost is the derivative of the cost function. Fixed costs drop out of the derivative. You’re confusing amortizing a fixed cost with marginal cost.