Foreign investment up 40% in 2023, thanks to one deal