A German court ruled on Friday that AI music firm Suno has violated copyright rules and has to provide information on illicit revenues.