Tech giants and scrappy startups are blending augmented reality with medicine, shopping, and video games.