The Sports Direct owner will buy Dave Whelan’s gyms and fitness assets after they went bust.