DeepSeek, the Chinese startup whose artificial-intelligence model roiled global markets last week, said it would restrict access to its application programming interface service because of shortages ...