Google has unveiled the Pixel 2, its next-generation Android smartphone which promises the best of "hardware, software and AI".