But there is only so much a government can do, they need to ensure their local population can support itself. People do not need CPUs, GPUs, RAM, they need food, water, health care, the actual necessities of live. And all of that can be produced in Brazil year around for the most part.
The fact that you have to pay 2x the price for a phone as somewhere else, doesn't have much to do with the fact that I in Canada pay probably 5x what you pay for produce and meat. I would much rather pay more for an iPhone and significantly less for vegetables and meat, then the opposite.
But with tech there is absolutely no plan to build a domestic industry so it's a permanent regressive tax with none of the benefits tariffs can give you. Building chip fabs is the kind of thing where you need direct state investment to make it work, which is not realistic in a country with way bigger problems.
Food isn't 5x cheaper but it's more like 2x cheaper (Canadian living in Brazil here.) And of course land is 10x cheaper. HHahhaha.
If you go to a supermarket in a high-income neighborhood, it won’t feel like that, though.