The UK government has announced a significant investment to improve rest areas for lorry drivers and drive innovation in the freight sector.