AI has quietly automated large swathes of how ads are bought, from walled garden auctions to the programmatic pipes that fund the open web.