Oracle licenses 100% restrict reverse engineering it's product to build a competing once, which is probably the closest to what these AI giants are trying to restrict.
Oracle db products are not meant to build databases, unlike LLM code generator which are meant to build any kind of software, so the restriction sounds a bit different.
Imagine if Oracle was adding a restrictions on what you are allowed to build with Java, that would be a more similar comparison IMO.
You can you just have to ask. And that's not an oracle thing. All the commercial databases have that rule. It's too easy to make misleading benchmarks for such complicated products so that's why they do it.