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/
That doesn't mean we ought to just give up and worship whatever worst thing capitalism produces. If you look at Ginsberg's long history of political activism as an example it's certainly not what he and those around him lived.
At a separate scale from that discussion we need to "play our side" of the game, and that will necessarily involve your personal interpretation of ethics. I believe it is a kind of laziness to dismiss that.
And I would happily live in a poorer society with better ethics any day (given some minimum threshold of live quality).