WPP cuts costs to meet the challenge of artificial intelligence