As BRICS pushes artificial intelligence as a driver of growth, questions are growing over its impact on jobs, water use, environmental costs and security.