Microsoft and Amazon are expanding their footprint in quantum computing, even as a commercial breakout remains years away.