Rigetti Computing Inc. and D-Wave Quantum Inc. make products that so far have few real world applications. They’re burning through cash and aren’t expected to generate significant amounts of revenue for years. Despite all that, investors can’t get enough of them.

