People who live near data centres could be targeted by rogue AI, a retired Air Force colonel has warned.