The 19th-century industrialists were called ‘robber barons’ – but they did more to improve society than many of today’s super-rich.