Brick-and-mortar food businesses are partnering with major OEMs and autonomous vehicle startups to cut down on last-mile delivery costs.