Manchester City secured their place in the knockout stages of the Club World Cup by thrashing UAE side Al Ain.