Apple and Samsung were locked in a legal battle over this very issue and in several countries. It was massive news at the time (circa 2011-2012) and even went to the US Supreme Court.
https://en.wikipedia.org/wiki/Apple_Inc._v._Samsung_Electron....
And here is a sample of some of the discussion in the tech community.
https://apple.slashdot.org/story/11/04/18/2053241/apple-sues...
There were a lot of people angry at Apple (and some at Samsung). A common refrain at the time was "There are only so many ways you can design a rectangle."