These locomotives are used to power the work trains that are installing a new steel liner in BART's Transbay Tube between Oakland and San Francisco. The flat cars behind the engine are part of the train. As is usual in California today, they are powered by a low emissions Tier IV diesel.
Great job catching these! I see the third one a few car-lengths to the right. Maybe someday...