Offer them a partial amnesty: repatriate the funds at a 20% tax rate or so.
The goverment wins because 20% of $181bn is way more than 40% of nothing, and Apple wins because they get to use the money within the US.
Partial amnesties for repratriation have been been done before, most recently in Greece as far as I know.