Just like Gboard, SwiftKey is also backed by a reputed and large tech giant, Microsoft. It has strict rules and policies on how your data is collected and used. Generally, whatever data is collected is just used to improvise the service and give you a more personalised experience. None of the collected data is used for any wrong, malicious or illegal purposes. For more detailed information, you are free to check out the policies of the SwiftKey keyboard.