Staff at DeepMind's UK offices have voted to unionize days after the Pentagon confirmed it would work with Google on classified operations.