Foreign investment hits new high