Building power stations is a one-time cost. If the power station is solar or wind, same thing, only no fuel. Not the case for fossil fuels.
Solar panels or windmills are like oil drills. They aren't oil.