Microsoft's CEO said workers should use the right AI model for the job as companies look for ways to control rising AI costs.