Britain will invest £374 million ($483 million) with ESA over the next five years, helping secure its involvement in projects such as NASA’s Lunar Gateway, the Rosalind Franklin Mars Rover and programs to monitor climate change.