Tech companies aim to bring back live gatherings—with rules