I hope most here can agree that taking a web page, doing command-C, command-V, changing a few words in a small amount and passing it off as your own work is wrong.
This is not even about cloning an API.
So inferior goods (using the economic term) can add low-cost options for consumers and are thus a social benefit.
While copying itself isn't bad, in practice those companies often releasing products that are unfit for sale or engage in deceptive advertising.
https://slatestarcodex.com/2014/07/30/meditations-on-moloch/