A simple test is to add some further text...
'IBM confirmed it is building more data centres in the UK.'
'IBM confirmed it is building more data centres in the UK, whereas only a month ago it was not.'
The same tests hold for the other text. In other words, it is grammatically correct in each case. With 'confirmed it is', the confirmation was made in the past -- the past tense '-ed' of 'confirmed' -- but the action of building centres continues to the present and into the future.
If we change the 'is' to 'was', the action of building centres is fixed in the past, although further text might indicate that the action will continue into the present and beyond...
'Yesterday IBM confirmed it was building more data centres in the UK, and intends to do so for the next few years.'
'IBM confirmed it was building more data centres in the UK, but as of last month is no longer doing so.'
As for Google searches, make them as broad as you wish, and then tighten up the search query. Also, with any Google search, be careful to assess the veracity of any answer -- there's a lot of good information out there, but there's a lot of rubbish as well! The words 'it is' are probably worth omitting in any Google search query, unless you are searching for a specific quote, such as for the poem 'Pleasure it is To hear, iwis', in which case the whole query string is placed in quotes.