The U.S. Navy’s futuristic railgun promised Mach 7 strikes with pure kinetic energy—until it didn’t. Here’s how $500 million vaporized into sparks, melted barrels, and one epic military dead-end.