How can end up not being useful but breaking crypto? If a computer is good enough to break crypto then for sure we can use it to solve other problems
Why do you say that? Is the math behind cryptography useful for other problems?
We already know the killer app for quantum is molecular dynamics simulations for drug discovery and biomedicine.
One way would be that research into quantum algorithms yields a result that any "useful" algorithm in, say, BQP, is poly-time reducible to P or whatever tractable complexity class, and provides a way to do just that.