Why would anyone be more comfortable providing PII to some clerk a a hotel than some clerk at a TA? The same risks. But, if you don't supply, you won't have a room.
In return for the commission, the TA has to collect all of the data. That's part of the deal.