Two inspiration sources appear clearly: contemporary American gangster movies and Alfred Döblin’s novel Berlin Alexanderplatz (1929).
The Tempest is not available for streaming at this moment.