Google and Nasa have bought the world's first commercial quantum computer from makers D-Wave. 