The companies are seeking to compete with the likes of Apple and Meta.