First of all, the only car you listed that does NOT have a boxer is the Ferrari.
In the photo you used, the flat engine is on the left, boxer is on the right
The answer is in the crankpins: (shown in green, below)
On the flat engine (180* V) the pistons share a crank pin (crankshaft journal) and move back and forth at the same time - when one is TDC, the other is BDC
On the boxer engine, the pistons have their own pin, and are set at 180* opposite of the opposing piston. They move back and forth opposite of each other - both reaching TDC at the same time.
The Ferrari "boxer" is not a boxer, but a 180* V12
Subarus, VWs, BMW and Honda motorbikes, Porsches and Corvairs are all boxers.
IF you were a two cylinder engine and your arms were pistons, sit in your chair and punch your fists left, right, left right.. with both of your fists going to the right at once, then both to the left at once, you'll notice that you are moving in your chair a bit. Now do the same but punch out with both, then in with both, out, in, etc... you'll see that you're torso is moving moving around in your chair a lot less.
You can run a 2, 4, 6 cylinder engine and they will be much more balanced as a boxer (the 6 especially, since it's inherently balanced on its own). You can make a boxer 12, but it would be a waste of time, since a 12 cylinder engine is already inherently balanced in the first place.
Edit - here is a gif of the two types of engines. Top is boxer, bottom is flat (or 180* V)