[TF] Rename `ShapedArray` initializers to `init(repeating:shape:)`. (#23352)
Deprecate `init(shape:repeating:)` for `ShapedArray` and `ShapedArraySlice`
in favor of `init(repeating:shape:)`.
This is consistent with APIs like `Tensor` and `tf.constant`.
Update tests to use new initializers.