The deal aligns with Snap’s push to compete Meta and Apple in the artificial intelligence wearables market.