Millions in funding allocated to research into ‘the algorithmic society’