Freeport-McMoRan Inc., the world’s largest publicly traded copper producer, led a rally in mining and energy equities as a rebound in raw-materials prices gave investors reasons to cheer amid the worst rout in commodities since the global financial crisis.