The theorem still holds. Suppose two geometric figures in the plane have the same shape. Then there is a function $f$ that maps every point in one of the two figures to a point in the other figure in such a way that there is some positive number $k$ such that for any two points $P,Q$ in the first figure, the distance between $f(P)$ and $f(Q)$ is $k$ times the distance between $P$ and $Q$. In other words, $f$ multiplies all distances by $k$.
A theorem of geometry says the area of the second figure --- the image of $f$ --- is $k^2$ times the area of the first figure --- the domain of $f$.
Thus the area of an arch of a cycloid is $k^2$ times the area of an arch of another cycloid if the length of the base of the first cycloid is $k$ times the length of the base of the second.
Say the lengths of the sides are $a,b,c$ and we have $a^2+b^2=c^2$. Let (capital) $A$ be the area of the cycloid whose base has length (lower-case) $a$. Then the cycloids whose bases have lengths $b$ and $c$ must have areas $(b^2/a^2)A$ and $(c^2/a^2)A$. So the areas of the cycloids are
$$
A,\qquad \frac{b^2}{a^2} A, \qquad \frac{c^2}{a^2} A.
$$
The theorem then entails that the sum of the first two of these is the third. Thus it works for arches of cycloids. And you can say the same if any other shape is used.
The aforementioned theorem of geometry doesn't get as much attention in classrooms as it deserves.
Here is a question I posted on using other shapes than squares to simplify the proof of the Pythagorean theorem. I was stunned by answer: Albert Einstein showed what may be the simplest of all proofs by using certain triangles instead of squares.