No, renewables are public goods as they have positive net externalities, that is, a substantial share of the benefits of their use accrues to people outside the transaction. Well, relative to fossil fuels, at least; it's more accurate to say that fossil fuels are public harms with a substantial net negative externality.
Government action in the form of subsidizing the former and/or taxing the latter is necessary to internalize the externalities so that the relative net cost (benefit) is born by (accrues to) the participants in the transaction.