Nvidia and US pharmaceutical giant Eli Lilly said on Monday they will invest up to $1 billion over five years to build a joint AI research lab in San Francisco, marking one of the most ambitious collaborations yet between a chipmaker and a global drugmaker.