The solution is to encourage and foster economic growth. The outliers like Apple with large cash reserves being held offshore should be dealt with individually. (Not calling them out, it's just that they are well known for it) You don't penalize them for being smart with their money, you simply incentivize them to use the money in-country.
The news this election cycle seems to be a flurry of anti-1%/anti-corporate propoganda. There seems to be a feeling of take-take-take from these entities that took-took-took from us. That mindset simply does not work long term. Without real economic growth tax revenue is a finite and dwindling resource.