Hesai Group said it will "vigorously defend itself" against allegations of patent infringement by Ouster, a rival company.