Let me give you a simple example. Like the case of Samsung mobile phone, that shape is a patent for appearance, and there are some useful things bought, such as razors. The main structure inside is also patented. Some components in the notebook computer, such as the motherboard, graphics card and hard disk, are patented, and of course others have applied for it.
A patent is an improvement on something, so it's not as complicated as you think.