Rationally Engineering Porous Carbon-Based Metal Nanocomposites for Efficient and Durable Electrocatalysis Applications