The US shopping giant is taking the opposite approach to rival Amazon, which bars outside AI agents from its platform.