AI to revolutionise fundamental physics and ‘could show how universe will end’