“It is possible the mass shooting in California was related to terrorism, but that authorities still do not know”, US president Barack Obama has announced.