Wi-Fi was invented by accident—a scientist working on black hole research discovered how to transmit data wirelessly.