Home Editor's Pick Amazon is selling the tech behind its $50 billion ad business to other retailers