Borders are not like coastlines because they’re abstract delineations, not physical things, even though they’re frequently defined using geographic features.
In this case, the length of the border is dominated by the length of the thalweg of the Oyapock river. Using thalwegs is SOP in international law when using rivers as the natural border and the choice of river is due to treaties that are hundreds of years old.
That works for smooth vector lines, like the border of Colorado, but not for rivers. The thalweg of a river is the same as a coastline -- it has the same fractal nature to it. The more you zoom in, the more it wiggles back and forth.
So yes, the length of the border is dominated by the length of the river, but that's just repeating the question, precisely because the thalweg is a physical thing, not a geometric delineation.
In international law (w.r.t. borders) thalwegs are not dependent on coastlines but on navigable channels with a finite precision. The boundary monuments are often kilometers apart which creates a straight line regardless of the shifting coastline (which is a much bigger problem than the coastline paradox, since rivers can change on a dime).
Are you sure there's an official survey of every twist and turn, composed of "boundary monuments"? Is there a link to these things or something? It's not really clear to me there's any official "navigable channel" at all.
Is there anything you can link to that shows the actual legal boundary if it's made of vector segments? Or do we know if that's what Google Maps uses directly, or if that's what's being used for the length calculation?
However, it's quite improbable that bends like that would repeat at a 1-metre scale, at least because the river itself has a minimum width (or maximum depth it can go, if we assume some incredibly narrow gorge)
Maybe some borders are that way but not all. The thalweg is the US-Mexico border along the Rio Grande and the International Boundary and Water Commission semi-regularly swaps territory to deal with the changing border.
In this case, the length of the border is dominated by the length of the thalweg of the Oyapock river. Using thalwegs is SOP in international law when using rivers as the natural border and the choice of river is due to treaties that are hundreds of years old.