Machine Learning, Blockchain, and Cyber Security in Smart Environments (Application and Challenges)