BBC threatens AI firm with legal action over unauthorised content use