There were many companies that had prototypes and commercial products of various nature that go in the direction of the iPhone. Just as tablets existed before the iPad.
But from a strategic analysis point of view it was Apple that opened the market. All the others were unsuccessful in making a dent in those markets for various reasons:
- lack of geographic reach
- underdeveloped products
- Lack of marketing budget
- Failure to investigate, understand and address customer need
This list can go on and on. Not that Apple does everything right, but it cannot be disputed that Apple is the most successful company in opening up under-performing markets (smartphones, tablets, ultra books).
It is an important distinction. It doesn't really matter if Apple is the first or someone else. What matters here is that Apple is usually the first company that really succeeds in a given market.