Broadcom Inc. said that it will provide new custom chips to Apple Inc. in an expanded partnership that now runs through 2031.