Both hardware and software will define the next iteration of AI -- and Alphabet could be a key player in both.