"Movies that Spielberg already is developing at Viacom will remain at Paramount under pre-negotiated terms that compensate the director for each project, the person said."
I don't know if this means if a Transformers 3 is produced that keeps Spielberg on as executive producer or not but for Transformers 2 nothing changes.