Amazon.com Inc.’s latest global layoffs should come as a singular warning to India. For policymakers dealing with the world’s largest youth population, AI suddenly poses a very real risk to jobs, wages, and a white-collar future.

The e-commerce and cloud services giant’s elimination of 14,000 corporate positions worldwide may not have a large direct impact on its sizeable Indian workforce. The more worrying thing is the kind of occupations at risk: Generative artificial intelligence is starting to affect more than just entry-level computer programming.