Actors and writers warn artificial intelligence is getting better at replacing the work of humans, sounding the alarm at a parliamentary inquiry.