There is a significant difference between the two. The Yubikey is a device which helps the service to verify that it is actually you who is signing the transaction. However, it does not protect you against signing a different transaction than you intend to.
If you keep your Bitcoins in a TREZOR, that will never happen.
Source: Official website of Trezor – https://trezor.io