Google has revealed its new own-built smartphone, Pixel, which the tech giant says has been created with artificial intelligence at its centre.