The fulfillment provider is betting a unified tech stack and a new AI robotics lab can give independent brands a fighting chance against e-commerce giants.