Artificial intelligence discovers secret equation for 'weighing' galaxy clusters