The Coming AI Singularity in 2050: How to Survive and Thrive in the Trans-Human Era