That's not true, if P was equal to NP, then public key cryptography would definitely be broken (most definitions of current cryptographic methods require exponential breaking time to be considered secure, though your overall point still stands).
Obviously an algorithm for producing an equivalent polynomial-time algorithm given any nondeterministic polynomial-time algorithm would prove P = NP, but is there any reason to believe the proof would take this form, or if it did, that the algorithm generating algorithm would run in a reasonable amount of time, or produce efficient polynomial-time algorithms?