John Harlin said:What is the purpose of the Tour de France time trials? ..
+1 on both responses above, but here's another way to understand it.
Cycling is a sport with a lot of specialized skill sets including top end sprinting with or without a team to lead you out, climbing long mountain passes, the ability to initiate or survive repeated attacks and then sustain a breakaway and then pure solo time trialing against the clock.
Just as there are climbing and sprinting specialists there are time trial specialists and time trials often differentiate the lead riders and prove to be decisive among a few top contenders with good teams. It's pretty unusual to see a pure sprint specialist or KOM contender also win the individual time trials but GC contenders usually do quite well in TTs.
Anyway the grand tours test a lot of different skills including team work, top speed, climbing and the ability to physically and mentally ride solo against the clock.
It's not some sort of forced training plan, it's part of the competition and a part that tends to separate the best riders from the rest.
-Dave