Essays On Automation, Inequality, And Macroeconomic Performance