Profit analysis of magnesium-based energy storage materials