If IQ is used as a measure of intelligence in humans could it also be used as a measure of intelligence in machines?
It depends on how the IQ test is presented:


If as for humans (effectively, as a video of the book containing the
test questions being opened etc), then all AI programs would score
zero.
If presented as the test set of a supervised learning problem (e.g. as for Bongard Problems) then one might imagine that a number of ML rule induction techniques (e.g. Learning Classifier Systems, Genetic Programming) might achieve some limited success. 


So all current AI programs require the problem to be 'framed' in a suitable fashion. It doesn't take too much thought to see that removing the need for such 'framing' is actually the core problem in AI, and (despite some of the claims about Deep Learning), eliminating framing remains a distant goal.

More generally (just as with the Turing test), in order for an IQ test to be a really meaningful test of intelligence, it should be possible as a side effect of the program's capabilities, and not the specific purpose for which humans have designed it.

Interestingly, there is only one program that I'm aware of that sits between 1. and 2.: 

Phaeaco (developed by Harry Foundalis at Douglas Hofstadter's research group) takes noisy photographic images of Bongard problems as input and (using a variant of Hofstadter's 'Fluid Concepts' architecture) successfully deduces the required rule in many cases.