LiveView goes far beyond what htmx offers. Or at least makes it much more fully integrated across the whole stack.
htmx is a frontend library first and foremost, that dictates some patterns you may want to implement on the backend. LiveView is a backend-first framework, with excellent support for interactive frontend stuff.