Optimal Energy Shaping via Neural Approximators