In the 90s, anyone could buy a Windows PC, install apps on it and resell it.
The point was that Microsoft were giving Internet Explorer away for free, pre installed with Windows. This abused the market dominance of Windows to expand use of Internet Explorer.
Anyone is free to buy an iPhone, install apps on it, and resell it.