Rory McIlroy claimed the 27th PGA Tour title of his career with an impressive victory in the AT&T Pebble Beach Pro-Am.