Vice Media LLC said on Wednesday that it will buy Refinery29, an online publication focused on entertainment and lifestyle pieces for women, aiming to strengthen its content across platforms.