What you're describing here isn't exclusive to hardware tokens and nothing preventing software from checking the domain using TOTP.
No, not always and many password manager solutions do integrate with your browser and know the domain for the password.