Sometimes the camera moves faster and smoother than is possible in game, so I think some was recorded using a free camera option. The guys walking off at the end definitely aren't.
I'm not sure if the X4 Foundations trailer is actual gameplay or not. What's more, games often use the game engine to do their cutscenes as it's far less jarring for the player. Game play graphics are WAY better than cutscene footage from years ago.