It also kinda needs to be said that iPhone really took off after AppStore (and 3G and copy/paste and other stuff) became a thing. Before that the market share wasn't that great.
The market share wasn't great because it wasn't sold globally.
Once that happened market share really took off.
Apple has historically been very comfortable shipping devices without "table stakes" functionality - waiting until they have an implementation they like.
Or sometimes never shipping it, and leaving it to third parties. My iPads still don't have a calculator app.