Games today feature dynamic music with loops and transitions and individual stems that can be remixed at runtime. One prominent example (to me, at least) is "Take Control" playing over the Ashtray Maze in Control. This sounds like an absolutely seamless prog metal song while playing, but it is actually highly reactive to the gameplay - the rapid-fire sequence of battle arenas and fast paced corridors. The player stays in absolute control of the pacing the whole time.
Tetris Effect is also a great example of this. Each movement and rotation of pieces impacts the score and each level has varied genres. One of my favorites is the New York City Jazz level.
Hi-Fi Rush did some of the opposite: the gameplay in certain parts shrinks or stretches so it takes the right amount of time to hit the next musical cue.
Final Fantasy XIV does this a lot. Boss fights' music will often change depending on what phase of the fight you're in, and in some the music will gradually transition to the heroic themes at the right moment.