Okay, my post inadvertently makes it sound like AUH is the only airport where those facility is available, but I'm aware it's not :)
Actually, I just searched and found a list of airports outside the US with pre-clearance facility at https://www.cbp.gov/travel/preclearance
Also, I think similar strategies have been adopted for verifying the contents of containers (as in, container ships) to ease the traffic at destination ports in the US.
Like, they verify the containers at the source port and lock it (using some kind of high tech mechanism to prevent tampering).
Don't know too much details though.