The U.S. basically made them illegal in workplaces in the 70's, when it was shown that employers were using so-called intelligence tests unrelated to job functions to discriminate on the basis of race. Plus, in the 90's they passed a law banning discrimination on the basis of disability. Now workplace testing needs to be shown to be directly related to job responsibilities, so general purpose tests are pretty much too much of a compliance nightmare to be worth the effort.
Maybe they're still common in some other countries, but they're really rare in the U.S.