I would say the vertical line is the standard gap between columns which is 20px by default in Elementor. You can set it to zero, but another solution might be is adjusting the background color of the page. My guess is, looking a the left picture, you set the background color in the columns to black, but the page background color is white.
But what confuses me is that the line goes through the picture in the example on the right. If this is one picture, normally it would be in one column. So there would be no column gap.