Artificial intelligence 'prediction machines' will cut costs