The new venture comes as cities grapple with police shortages and rising public safety concerns.