It was not closed, it was reduced. Companies are still doing it. They wouldn't continue if it wasn't beneficial to do so.
US regulations also don't do anything to transfer prices in other countries. Google apparently pays something like 2.4% tax on their foreign profits because they funnel them all to the Bahamas.