Just change the current tax laws.
If you sell advertising/software/etc. in France, that revenue accrues to the French subsidiary, and can't be funneled to Ireland/Holland/Luxembourg/the Channel Islands/(insert name of tax haven du jour here) that alledgedly holds the intellectual property.
You don't need to create a turnover tax that will punish companies that are struggling with profitability already. Instead, make sure that the ones that are making money pay a reasonable share.