Robots don't necessarily need to take the shape of humans.
I don't think robots need to look like humans all the time.
この場合、次のような言い方ができますよ。
ーRobots don't necessarily need to take the shape of humans.
「ロボットは必ずしも人間の形である必要はない」
ーI don't think robots need to look like humans all the time.
「ロボットはつねに人間のような見た目である必要はないと思う」
ここの「人型」は to take the shape of humans や to look like humans を使って表現できます。
ご参考まで!