With more women and young people opting for weights at the gym, both Peloton and Planet Fitness are expanding investments in strength over cardio.