The perils and promise of quantum computing are nearing. Here are ways to invest