Perhaps it's because at least in NXP's case the reason why headquarters are there and not somewhere else is that the Netherlands are a tax haven for IP-heavy companies.
NXP has a long history in the Netherlands. It started as a division within Philips (Dutch company) and it has done a lot of production work in the Netherlands.