I never thought about it, but I’m assuming that means the cables also carry enough electricity to power the amplifiers?
For short-ish cables (a couple hundred kilometers), driving the amplifiers via light (interestingly this can be done from both the data-sending and receiving end!) is possible, but not for trans-oceanic distances.