Google’s plans to provide digital versions of classic books over the internet have run into trouble in France after President Sarkozy vowed to spend hundreds of millions of euros to see off what he regards as a threat to the country’s cultural heritage.