The new process could have a wide range of applications, boosting Facebook’s broader push into smart tech.