YouTube has announced a major new security feature that automatically blocks suspected hacked channels from uploading videos or livestreaming.