Sony Group and Taiwan’s TSMC plan to invest about 1 trillion yen ($6.32 billion) in a joint venture to manufacture next-generation image-sensor chips in Japan.