Runway, a startup best known for its suite of generative AI media tools, has raised $308 million in a new funding round.