CHICAGO—Early one morning last spring, shortly after moving into her apartment, Kristen Caston was jolted awake by a thud so powerful it nearly knocked the artwork from her walls.

“I thought it was an earthquake,” she said. “It literally sounded like somebody was taking a huge drill to the floor.”

Alas, it was her neighbor: a CrossFit gym,...