AI-powered battery management systems