US tech giant will assume customers’ liability for material created by AI assistants in Word and coding tools