American tech firms have been sued in the US by creators who allege the firms misused their work to develop AI products.