You can already generate every possible private keys. What stop people to steal everything is that you must spend time to search the right one for every UTXO
Quantum computer can accellerate this.
What can happen is that #Bitcoin, for survive, has integrated a new quantum-resistance algorithm for new transactions. Those ones will be safe, but UTXO never migrated to the new quantum-proof address (like lost coins) might be stolen.