Manchester City scored three second-half goals to overcome UAE Pro-League side Al Ain in a post-season friendly in Abu Dhabi.