Facebook is free to stop operating in the UK if it wants. If wants to continue operating in the UK, and retain ownership of Giphy, then any UK based assets they have (such as revenue from UK business) will probably end up being forfeited via fines from the regulator.