Danish toymaker Lego said on Tuesday it would invest $400 million over the next three years to step up efforts to produce its colourful bricks using sustainable materials instead of oil-based plastic.