Nvidia and TSMC rise as Foxconn's record quarter boosts chip stocks