HSBC has warned that the economic slowdown in China and the UK would hit its business this year after reporting a disappointing profit for 2018.