NASA’s James Webb Space Telescope (JWST) is set to receive a significant upgrade in the form of artificial intelligence (AI).