Jurassic Park and Peaky Blinders star Sam Neill died from pneumonia after beating cancer, his agent said.