Elon Musk’s X has sued 18 music publishers and the National Music Publishers Association in the latest move in a drawn-out battle over licensing.