The parent company of ClassPass is combining with fitness-tech maker EGYM to capitalize on AI in the industry.