Check the parent of each category, top-level terms will have a parent value of 0:
$product_category = wp_get_post_terms( $post->ID, 'product_cat' );
foreach( $product_category as $cat ):
if( 0 == $cat->parent )
echo $cat->name;
endforeach;