The lawsuit by union pension funds and asset managers alleges the celebrity CEO strong-armed Tesla’s board to buy SolarCity.