Text this: Variational autoencoder-based multipath clustering algorithm for terahertz channels