The Lego Group, the company that makes children’s favourite Lego toy construction sets, is to end its 50-year marketing partnership with oil and gas multinational Shell.