I would say no. In the fruit/apple scenario, it makes good sense to use inheritance. The author of the article confirms that, too: "In the example above, an Apple likely is-a Fruit, so I would be inclined to use inheritance".
If your subclass is clearly a superclass, inheritance is fine. In practice though, you'll find many more situations that are better solved using composition.