G7 countries have reached a deal that will likely increase taxes for tech giants like Apple, Amazon and Google.