Hundreds of counties around the country have ended in-person jail visits, replacing them with video calls and earning a cut of the profits.