Using the do_shortcode()
function actually calls another shortcode if that one exists. Instead, it should look like the following:
add_shortcode('relatedlinks', 'related_links_shortcode');
function related_links_shortcode() {
return wp_related_posts();
}