Hm, I can’t claim to be an expert, but my first thought is that the logistics of transporting thousands of iPhones is very, very different from transporting thousands of cars.
We even had factories here, but they were too expensive to run. It's cheaper to ship them from overseas.
After 30 years of increasing imports when government subsidies ended so did local manufacturing. Most cars sold in the country are now built in Thailand, South Africa, Japan, Europe and increasingly the USA - without any kind of huge price jump over locally produced vehicles.