> These types of contracts are actually quite common, for example an employment contract will almost certainly include an IP grant clause.
In the US, maybe. In most of the rest of the world, these sorts of overreaching "we own everything you do anywhere" clauses are decidedly illegal.