They kind of are connected.
Terminators are machines disguised as humans in a dystopian-Earth reality of the seemingly-real, seemingly-present, seemingly-human Matrix dreamworld. In this dreamworld, Transformers are machines disguised as machines who have arrived on Earth to obtain their life source, the "All Spark" Creation Matrix. The Autobots wish to protect the human race while the Decepticons wish to destroy it. However, both sides are unaware that they are actually in a simulated dreamworld, which is the real Creation Matrix even though it is not part of reality. And while these sentient robotic beings transform into mundane forms of technology on their Earth, the Creation Matrix is actually responsible for bringing mechanical and electronic objects to life in this dreamworld, and the humanoid Terminators in reality were created by human technology. So while the Decepticons try to destroy what they believe is a weak and powerless species, they unknowingly get their wish as machines begin to take over the real Earth and harvest humans. The One is a computer program that lives and breathes in the real world. Its function is to maintain control in the Matrix. It can either allow the human race to perish while the Matrix reboots, The One dies, and a small group of surviving humans are set free to found a new civilization, or it can attempt to save humanity by returning to the Matrix, which would only lead to a massive system crash that kills everybody. There have been many versions of the Matrix and, as a result, Ones. There are also artificial intelligence programs to keep order within the system. One of these programs became freed from the system after coming into contact with The One. It became a negative One, and was able to absorb the common life force that connects all agents in the system. But this is only one universe inside a multiverse of realities. One time when the negative One tried to pass through a wormhole into another reality to gain power, it inadvertently traveled back in time to the time of the dinosaurs. As a T-Rex approached, he punched it with his superhuman strength and changed the course of history, preventing the leader of the human resistance from being born. And outside of all this, we are the Watchers. We cannot interfere. We can do nothing but watch.