Copyright law ‘struggling’ to parse AI’s ascendancy